Bug 382291

Summary: pycups needs to check attributes-charset in IPP responses
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.78-3.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-21 14:37:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 380431    

Description Tim Waugh 2007-11-14 12:18:08 UTC
Description of problem:
When pycups parses IPP response it does not convert from the attributes-charset
to the native charset.

Version-Release number of selected component (if applicable):
1.9.27 (system-config-printer-0.7.74.4-2.fc8)

How reproducible:
100%

Steps to Reproduce:
1.In a UTF-8 locale, 'lpadmin -p queuename -v /dev/null' with a non-ASCII
character in the queue name.
2.In a non-UTF-8 locale, python -c 'import cups; c=cups.Connection(); print
c.getPrinters().keys()'
  
Actual results:
Incorrect output.

Expected results:
Correct output.