On Fri, 20 Apr 2007, Tim wrote:
On Thu, 2007-04-19 at 16:19 +0200, Karl-Olov Serrander wrote:
> I have a problem with cups when converting from text to ps.
> (eg: lpr -P printer textfile ) it only converts until there comes a
> 8-bit character, then nothing.
> "abcdefghijklmnopqrstuvwxyzåäö
> ABCDEFGHIJKLMNOPQRSTUVWXYZÃ
ÃÃ"
> comes out as
> "abcdefghijklmnopqrstuvwxyz
> ABCDEFGHIJKLMNOPQRSTUVWXYZ"
> sometimes everything after the the 8-bit char is lost
>
> My cups-server is redhat-9, and my client is FC6 fully updated.
> printing on my cups-server works ok, also printing on older clients
> with FC3 works ok.
>
> LANG=en_US on all machines.
It probably should be "LANG=en_US.UTF-8", else ASCII might be presumed
(which is *ONLY* 7-bit). It might be another encoding scheme, though,
as I see your message was ISO-8859-1. It should match your environment,
whatever it is.
Answering my own question:
http://www.cups.org/str.php?L2167 "CUPS 1.2 and beyond only supports UTF-8
internally, and only advertises UTF-8 and US-ASCII as supported character
sets."
http://www.cups.org/str.php?L2298 includes a workaround, which i will test.
Regards
--
Karl-Olov Serrander kase(a)cntw.com