CUPS and iso-8859-1

Helge Blischke h.blischke at srz.de
Fri Jan 4 03:57:38 PST 2008


Thomas Küstermann wrote:
> Hello!
> 
> I use CUPS version 1.3.4. If the client requests some resources (printer, jobs) with character set 'iso-8859-1' the server answers with 'unsupported character set "iso-8859-1"'.
> How can I solve this problem? Is it possible to use 'iso-8859-1' instead of 'utf-8'?
> 
> Thanks in advance,
> Thomas

Youz need to force every client to use utf-8 as the
character set specified in the IPP request. As for
CUPS 1.1.x, I discovered that the cups specific locale
files (usually in /usr/lib/locale/<lang>/cups_<lang>
or in /usr/share/locale/<lang>/cups_<lang> ) contains
iso-8859-1 in the first line. Change that to utf-8 ,
and everything will work as expected.

I don't know if this holds for CUPS 1.2.x as well
(never used that), but 1.1.x (at least up to 1.1.19)
hat the 8859 in it's source distribution.

If you do not know or are not sure where your clients
get the locale data from, run a lp or lpr command under strace
(or truss on some non-linux systems)
and search the trace data for "/locale/" to see where
the data are read from.

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list