[Bug 1052342] ttname doesn't support unicode

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 14 23:09:01 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1052342

T.C. Hollingsworth <tchollingsworth at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|Exception while reading     |ttname doesn't support
                   |Macintosh name records      |unicode



--- Comment #1 from T.C. Hollingsworth <tchollingsworth at gmail.com> ---
Yeah this doesn't handle Unicode at all at the moment.  *hangs head in shame*

I fixed outputting records with unicode chars upstream last night:
https://github.com/tchollingsworth/ttname/commit/0a352b9a3b6aeb558e3cd4d2939a24321dd7b0dc

Handling input is a little trickier thanks to Python 2's warty unicode support
in the stdlib.  I'm fairly sure I've got it working right locally but I'm super
busy today so I'd rather wait until later this week when I can test it better
(and expand the test suite to cover it).  The current situation of bombing out
with an exception is definitely better than me pushing something half-arsed
that may potentially silently corrupt files.  :-p

Thanks for the report!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=JAhZQv76L9&a=cc_unsubscribe


More information about the fonts-bugs mailing list