Poor rendering of CUPS Web admin pages for europeen language on Mac OS X

Anonymous anonymous at easysw.com
Fri Jul 15 17:15:40 PDT 2005


> On mac OS X 10.4, if you are using CUPS Web admin tool at http://127.0.0.1:631/ and your browser preferred language is not English, all static text with accent will appear as question mark. Explanation below is given for French language, but you can translate it easily for other languages. (see also http://127.0.0.1:631/translation.html)
> The reason is that all static WEB pages templates found in /usr/share/cups/templates/fr are coded in ISO-8859-3 and dynamic data is sent in UTF-8.
> Temporary fix (until Apple fix this issue):
> Convert the templates from ISO-8859-3 to UTF-8 using following command:
> iconv -f ISO-8859-3 -t UTF-8 <files>...
> When done notify the cupds daemon by kill -s HUP <cupsd process ID>
> Fix tested OK for French on 10.4.1
> --
> Vincent CLERC


There are a lot of other errors in the localization! It is a bit more complicated !
The problem has been already reported: http://www.cups.org:80/str.php?L919
I made a large patch which solve this problem for all languages and replaces the crappy html by a valid html.
You can found the patch at http://www.cups.org:80/str.php?L1121
Mike doesn't want to apply it but Mandriva LE2005 has applied my patch which corrects a lot of errors in localization and produces a valid HTML in french, german, belarus, spanish and english.

Pierre Jarillon




More information about the cups mailing list