[cups.bugs] [LOW] STR #2593: UTF-8 changes consitutes an API change

Michael Sweet msweet at apple.com
Tue Nov 13 10:50:24 PST 2007


[STR Closed w/o Resolution]

Exclusive UTF-8 usage was announced and documented in CUPS 1.2.0. Functions
were provided for converting to and from the locale-defined charset. 
However, we incorrectly did not enforce UTF-8 for incoming requests until
1.3.4, and that was a bug - CUPS assumes all strings are UTF-8, and
allowing non-UTF-8 strings breaks consumers of those strings (which are
identified as UTF-8 character set).

Older clients will continue to work as long as a UTF-8 locale is used.
Feel free to patch around this in your distro-specific packages, but be
prepared to handle random bug reports from users and developers when the
strings they get from CUPS are not really UTF-8.

We will not revert the change. UTF-8 (and the US-ASCII subset) are the
ONLY supported character sets for IPP requests in CUPS.

Link: http://www.cups.org/str.php?L2593
Version: 1.3.4
Fix Version: Will Not Fix





More information about the cups-devel mailing list