Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
po2sub gets encoding wrong and fails #3827
I installed translate-toolkit 2.3.0 via pip but the same problem with 2.0.0b5, and with the Fedora 28 package as well.
For some reason it thinks it’s latin-1 when it should be utf-8.
I’m attaching the files so you can try it yourself.
Edit: my bad, this is an old bug #3601
I also have the same problem with v3.2.0:
xliff2po: WARNING: Error processing: input src/assets/i18n/messages.en.xlf, output None, template None: 'ascii' codec can't encode character '\xe9' in position 70: ordinal not in range(128)
My file is UTF-8 encoded, not ascii.
Everything is fine with v2.2.5, so this is a regression.
@afranke, this seems to be an issue with