[cups.development] [RFE] STR #1475: needs encoding conversion using LanguageEncoding in PPDs

kmuto.debian kmuto at debian.org
Sat Mar 11 01:27:29 PST 2006


[STR New]

Some PPDs have non-Latin strings, written in encoding of LanguageEncoding.
Although CUPS interface use them as is, it may cause a problem on some
environments.

For example, most Japanese PPDs are written in Shift-JIS
(LanguageEncoding: JIS83-RKSJ).
To show their option names/values on EUC-JP or UTF-8 encoding environment,
CUPS needs to convert them.
Currently Web interface is running with UTF-8 and shows absoletely
unreadable option parameters screen by encoding mismatch. 

As far as I know, some steps are needed to implement this.

1. CUPS has Shift-JIS (JIS83-RKSJ) encoding map.
2. When CUPS shows PPD name/variable, it converts LanguageEncoding to
local encoding.
3. When CUPS saves PPD name/variable somewhere, it converts local encoding
to LanguageEncoding.

Link: http://www.cups.org/str.php?L1475
Version:  -feature





More information about the cups mailing list