CHARSET environment set for filter

Michael Sweet mike at easysw.com
Thu Oct 20 04:50:11 PDT 2005


mock wrote:
> Hi all,
> 
> we use CUPS 1.1.20 as distributed with SuSE SLES 9.
> We're working with utf-8 enabled. When we send a print job to the local CUPS server, this CUPS server directs the IPP request to the CUPS server on which printer queues are configured. This IPP request is done with charset utf-8. The printjob is accepted by the final CUPS server, the filter program is started, but the CHARSET environment variable is set to iso-8859-15. Data sent is definitely utf-8 encoded umlauts.
> 
> Can you please explain that or give a hint why this it that way?

1.1.20 did not use the nl_langinfo() call to get the default charset,
so it depended on the charset in the message catalog, which defaulted
to ISO-8859-15.

Upgrade to the current version of CUPS, or add .UTF8 to the end of
your LANG value.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list