Unsupported character set "iso-8859-1"!

John A. Murdie john at cs.york.ac.uk
Sun Jan 6 10:47:22 PST 2008


When I try an (Linux server, experimental) installation of CUPS 1.3.5 with lpr from a Linux client which has 1.2.11 (setting the ServerName in its /etc/cups/client.conf), I see the message:

; lpr -Pcp04 sourcecode.pdf
lpr: Unsupported character set "iso-8859-1"!
;

I gather from http://www.cups.org/documentation.php/ref-cupsd-conf.html that the default character set of the server is 'utf-8'. I have experimentally tried setting:

DefaultCharset iso-8859-1

in the server's cupsd.conf, but this didn't alter the symptoms.

Now, we do have a new file server for which the character set of the filenames might be different to what it was when I last installed CUPS. I can't alter the place (on this server) where CUPS is installed, but even printing a file from a client local filestore which hasn't changed in months (with the default server character set of utf-8) causes the same error message to appear.

Any suggestions for how to debug this? I have tried turning up LogLevel on the server to debug2, yet see little more of assistance:

E [06/Jan/2008:18:38:47 +0000] Unsupported character set "iso-8859-1"!
d [06/Jan/2008:18:38:47 +0000] cupsdAddEvent(event=server-audit, dest=(nil)(), job=(nil)(0), text="%04X %s Unsupported attributes-charset value "%s"", ...)
D [06/Jan/2008:18:38:47 +0000] Discarding unused server-audit event...
D [06/Jan/2008:18:38:47 +0000] Print-Job client-error-bad-request: Unsupported character set "iso-8859-1"!
D [06/Jan/2008:18:38:47 +0000] cupsdProcessIPPRequest: 8 status_code=400 (client-error-bad-request)

John A. Murdie





More information about the cups mailing list