Comment 2 for bug 266583

Revision history for this message
Mikhail Zabaluev (mzabaluev) wrote :

This patch does the job, although EncWord functionality is
somewhat moot: it assumes that any string is encoded using
at most one non-ASCII charset. Which _might_ be wrong.
Decoding into a Unicode string with regard to charsets would
be cleaner, but OTOH it would require codec support and
hence would bring additional complexity and trigger more
untrampled bugs.