[zanata-bugs] [Bug 982891] New: pull command writes pulled files in ascii encoding on windows, rather than in utf8. (would be nice to configure the desired encoding in the pull command)
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 10 05:33:03 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=982891
Bug ID: 982891
Summary: pull command writes pulled files in ascii encoding on
windows, rather than in utf8. (would be nice to
configure the desired encoding in the pull command)
Product: Zanata
Version: 3.0
Component: Component-Logic
Severity: high
Priority: unspecified
Assignee: irooskov at redhat.com
Reporter: mriek at topcon.com
QA Contact: dchen at redhat.com
CC: zanata-bugs at redhat.com
Created attachment 771391
--> https://bugzilla.redhat.com/attachment.cgi?id=771391&action=edit
Example hack to work around the problem on windows.
Description of problem:
pull command for gettext file format pulls files in host OS default encoding
which on windows platforms is not utf8. this corrupts the language translation
strings on pull.
Version-Release number of selected component (if applicable):
3.0.0
How reproducible:
100%
Steps to Reproduce:
1. on windows, push a gettext project with some nice utf8 characters (some
Japanese for example)
2. on windows, pull the gettext project.
Actual results:
pulled .po file has '?' where there should have been nice Japanese characters
Expected results:
same characters that were pushed.
Additional info:
See attachment for temporary work around. Not suggesting this be used of
course (it's horrid), I have attached purely for further context. Ideally, we
could configure on the Zanata web page, or in the arguments to the pull command
the desired pulled encoding.
--
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=c2MU1OWCmM&a=cc_unsubscribe
More information about the zanata-bugs
mailing list