Bug 971417
| Summary: | Accented characters not handled correctly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Emmanuel Pacaud <emmanuel.pacaud> |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | emmanuel.pacaud, jpopelka, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | system-config-printer-1.4.1-6.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-13 06:36:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
What does 'locale' say? locale LANG=fr_FR.utf8 LC_CTYPE="fr_FR.utf8" LC_NUMERIC="fr_FR.utf8" LC_TIME="fr_FR.utf8" LC_COLLATE="fr_FR.utf8" LC_MONETARY="fr_FR.utf8" LC_MESSAGES="fr_FR.utf8" LC_PAPER="fr_FR.utf8" LC_NAME="fr_FR.utf8" LC_ADDRESS="fr_FR.utf8" LC_TELEPHONE="fr_FR.utf8" LC_MEASUREMENT="fr_FR.utf8" LC_IDENTIFICATION="fr_FR.utf8" LC_ALL= 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. LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL= 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. https://admin.fedoraproject.org/updates/system-config-printer-1.4.1-6.fc19 Package system-config-printer-1.4.1-6.fc19: * 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: https://admin.fedoraproject.org/updates/FEDORA-2013-10351/system-config-printer-1.4.1-6.fc19 then log in and leave karma (feedback). I looks like 1.4.1-6 actually fixed this issue. Thanks. 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. |
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)