-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Cohen <[EMAIL PROTECTED]> writes:
> Roger Leigh wrote: > >> If you look in the CUPS web interface, >> are any of the configuration labels and parameters in English >> (i.e. British English). I build the packages in an en_GB UTF-8 >> locale, but this shouldn't affect anything. > > If I try to configure my Epson Stylus Color in the web interface, > I get choices like "360 Ã 90 DPI Fast Economy Draft", so CUPS is > confused too. Otherwise, the page *was* in a mixture of British & > American English. eg. > > Image Type: Four Colors > Ink Type: Four Colour Standard > > but those are from the PPD. ;) I found the problem with the PPD generation. When generating "untranslated" PPDs for the POSIX "C" locale, the locale was not set explicitly, and so ended up as en_GB with UTF-8. This made genppd automatically translate and recode the output to UTF-8... The fix is as follows (against upstream CVS; I've make the change to Makefile.in in the Debian source for a variety of reasons): Index: src/cups/Makefile.am =================================================================== RCS file: /cvsroot/gimp-print/print/src/cups/Makefile.am,v retrieving revision 1.45.2.12 diff -u -r1.45.2.12 Makefile.am - --- src/cups/Makefile.am 24 Dec 2003 12:40:47 -0000 1.45.2.12 +++ src/cups/Makefile.am 2 Feb 2005 18:47:37 -0000 @@ -191,7 +191,7 @@ for language in C ; do \ mkdir ppd/$$language ; \ echo "$$language:" ; \ - - ./genppd --prefix=ppd/$$language ; \ + LANGUAGE=$$language ./genppd --prefix=ppd/$$language ; \ done ppd-nls: genppd I've now built a new set of packages, and the generated data is (AFAICT) all ASCII-only. You can download them from http://people.debian.org/~rleigh/gimp-print/sid/4.2.7/ (please download all the ones you have installed, not just cupsys-driver-gimpprint-data). Does this fix the problem? > Strangely, and similarly buggily, CUPS is serving it as > > Content-Type: text/html;charset=iso-8859-15 That is weird. I've no explanation for that one! If this still occurs with the fixed packages, please file a bug against cupsys. > This isn't a new bug by the way -- I noticed it about a year ago. It's the first time it was reported :-/ Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linux http://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFCASKEVcFcaSW/uEgRAoZBAKDMg4+A9aWiGG9B0A2dn0gLKDX0iwCfauIO AtKAPAAiDyi9wX6ufyESrhs= =PPMq -----END PGP SIGNATURE-----