#748: wash_for_utf8 breaks sometimes when fed an already-unicode string
----------------------+-----------------
Reporter: jblayloc | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: MiscUtil | Version:
Keywords: |
----------------------+-----------------
Given u'G\xf6ppert'
wash_for_utf8() throws UnicodeEncodeError: 'ascii' codec can't encode
character u'\xf6' in
position 15: ordinal not in range(128)
I think it's the intention of this method to simply pass through unicode
unmolested and encode non-unicode strings as unicode in utf-8, right?
--
Ticket URL: <http://invenio-software.org/ticket/748>
Invenio <http://invenio-software.org>