[cups.bugs] [MOD] STR #3832: _cupsLangPrintf() doesn't print with en_US.ASCII locale

Jiri Popelka jpopelka at redhat.com
Mon Apr 18 07:46:34 PDT 2011


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Binaries (all from systemv directory) using _cupsLangPrintf()
don't print anything out when locale is set to en_US.ASCII

Problem is that there's no us-ascii.txt data file so
cupsUTF8ToCharset(encoding = CUPS_US_ASCII)
can't transcode to ASCII.

I have no idea whether this is a bug or designed so.
Work-around could be to treat CUPS_US_ASCII the same way as other
"unknown" encoding. See attached patch.

See also original bug report
https://bugzilla.redhat.com/show_bug.cgi?id=681836

Link: http://www.cups.org/str.php?L3832
Version: 1.4.6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-1.4.6-ascii.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20110418/c756fee9/attachment.ksh>


More information about the cups mailing list