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

Vincent Clerc null at null.com
Wed Jul 6 07:15:08 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




More information about the cups mailing list