[cups.bugs] [MOD] STR #1915: lp/lpr should use LC_CTYPE to determine file charset

twaugh.redhat twaugh at redhat.com
Wed Aug 16 07:36:07 PDT 2006


[STR New]

The lp and lpr commands should use the LC_CTYPE locale category to
determine the character set encoding of the file(s) to print.  Currently
they use LC_MESSAGES, which is correct for output -- but LC_CTYPE is the
one that determines the encoding for input.

One way of fixing this would be to alter cupsPrintFiles2() so that it adds
a 'document-format=...;charset=...' attribute when appropriate.

Original bug report:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130118

Link: http://www.cups.org/str.php?L1915
Version: 1.2.2





More information about the cups mailing list