Red Hat Bugzilla – Bug 971417
Accented characters not handled correctly
Last modified: 2013-06-13 02:36:51 EDT
I'm using a UTF-8 french locale.
Until now, I have always successfully used accented characters for printer location. In fedora 19, system-config-printer doesn't like these characters, and emits wanings on the console output:
Traceback (most recent call last):
File "/usr/share/system-config-printer/printerproperties.py", line 691, in on_printer_changed
old_value = old_value.encode (locale.getpreferredencoding ())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe2' in position 1: ordinal not in range(128)
Unknown value for media-col: (unknown IPP value tag 0x34)
What does 'locale' say?
Here's an example of accented location string:
"Bâtiment rond - 1er étage - Cafétéria"
Sorry, in fact the issue happens when I launch system-config-printer from root, with the C locale.
I think this should be addressed in system-config-printer-1.4.1-5.fc19. I'll make a test update shortly... please test it and let me know.
system-config-printer-1.4.1-6.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.1-6.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
I looks like 1.4.1-6 actually fixed this issue.
Great, thanks for testing.
system-config-printer-1.4.1-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.