Bug 130118
Summary: | CUPS lpr incorrect charset detection | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan "Yenya" Kasprzak <kas> | ||||
Component: | cups | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | eng-i18n-bugs | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | http://www.cups.org/str.php?L856+P0+S-2+C0+I0+E0+Q | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.2.2-10 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-08-17 12:00:33 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: | 150223 | ||||||
Attachments: |
|
Description
Jan "Yenya" Kasprzak
2004-08-17 10:10:04 UTC
Created attachment 113073 [details]
text file containing all 4 CJK locale characters
Can you try the latest rawhide? Things of handling i18n printing is improved there. The problem is still here (cups-1.2.1-18.i386). It is a bit different than before (worse, I have to say): - the "cs_CZ" locale now defaults to the UTF-8 encoding, so this test is not valid anymore. - with the other values of LC_CTYPE - cs_CZ.ISO8859-2 and cs_CZ.ISO-8859-2 it does not work either (LANG=C, so everything except LC_CTYPE is set to C). - when I set LANG=cs_CZ.ISO8859-2 or LANG=cs_CZ.ISO-8859-2, it works. So it seems that cups looks to some other category than it should. According to my two years old bug-report to the CUPS bug tracking system, it used to use LC_MESSAGES category instead of LC_CTYPE it should use. But I have verified (by setting LANG=C, LC_MESSAGES=cs_CZ.ISO-8859-2) that this is not the case. Feel free to request more info. this somewhat seems to be relevant to Bug#197577. Though CUPS should looks at LC_CTYPE as the applications that relies on the locale usually does, and then LANG if it's not. paps - which works as the text plain filter for CUPS now - needs to support the document-charset attribute. after that, that may helps you too. I think that document-charset is something that CUPS is meant to support itself, rather than the filters. I'll double-check upstream: http://www.cups.org/str.php?L1819 SJIS-type encodings have now been added (1.2.1-21). looks like you are confused to close a bug. this bug is irrelevant to sjis at all. but if the way to specify the document encoding is documented somewhere or provide the certain way for that, this may be duplicate of Bug#197577 I suppose. or this complains that LC_CTYPE should works to detect the charset instead of LC_MESSAGES anyway, this bug should be still kept as a separate bug IMHO. then maybe retitling a bug would be better. Reported upstream: http://cups.org/str.php?L1915 This seems to work fine here with 1.2.2-10. |