Skip to content

Commit

Permalink
fix unicode-error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed Nov 6, 2015
1 parent eb05978 commit e27ee98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plone/app/contenttypes/indexers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def SearchableText(obj):
transforms = getToolByName(obj, 'portal_transforms')
text = transforms.convertTo(
'text/plain',
textvalue.output.encode('utf8'),
safe_unicode(textvalue.output).encode('utf8'),
mimetype=textvalue.mimeType,
).getData().strip()

Expand Down

0 comments on commit e27ee98

Please sign in to comment.