[cups.general] iso-8859-1 char not printing
Willi Burmeister
wib at cs.uni-kiel.de
Wed Feb 25 22:10:31 PST 2009
Hi,
we have cups-1.3.9 installed on our Solaris 10 SPARC system and most
things are working.
However ...
Lots of our files contains german ISO umlauts (äöüßÄÖÜ) and these are
not printed.
I configured cupsd.conf to use ISO-9959 but without luck:
DefaultLanguage en
DefaultCharset iso-8859-15
While tracing the problem I found:
----------------------------------------------------------------------
27556: execve("/opt/cups-1.3.9/lib/cups/filter/texttops", 0x000F0A90, 0xFFBF3C8C) argc = 7
....
27556: envp: CUPS_CACHEDIR=/var/opt/cups/cache
....
27556: CHARSET=utf-8 LANG=en_US.UTF8
----------------------------------------------------------------------
Why are UTF used here?
While searching more I also found clients sends 'attributes-charset=utf-8',
but my clients are using iso-8859-15. Digging in the source I found this
in ipp.c:
----------------------------------------------------------------------
/*
* Use UTF-8 as the character set...
*/
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_CHARSET,
"attributes-charset", NULL, "utf-8");
----------------------------------------------------------------------
UTF-8 hardcoded in the source? Why?
Is cups not able to print ISO chars?
Any help is appreciated
Thanks
Willi
More information about the cups
mailing list