Red Hat Bugzilla – Bug 987325
~/.publican.cfg doesn't work properly with non-ASCII characters
Last modified: 2013-12-18 21:46:35 EST
Description of problem:
Setting up a name (firstname or surname) containing non-ascii characters in ~/.publican.cfg and using "publican add_revision" will result in broken encoding inserted as the revision creator's name into Revision_History.xml
Version-Release number of selected component (if applicable):
How reproducible: 100 %
Steps to Reproduce:
1. Add the following into your ~/.publican.cfg file:
2. In any book's directory, run:
$ publican add_revision --lang=en-US --member=foo
3. Inspect the Revision_History.xml file
Revision_History.xml has a new entry containing <surname>BokoÄ</surname>.
Revision_History.xml has a new entry containing <surname>Bokoč</surname>.
Overriding the the surname inside the actual command ($ publican add_revision --lang=en-US --member=foo --surname=Bokoč), the non-ascii character is inserted properly. The problem is isolated to the ~/.publican.cfg configuration file.
AFixed UTF8 issues.
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.
Verified in publican-3.9.9-0.fc19.t4.noarch