[Foomatic] [patch] PPD.pm: handle non-ASCII in PPDs

Tim Waugh twaugh at redhat.com
Sat Nov 27 07:23:45 PST 2004


On Sat, Nov 27, 2004 at 01:18:47AM +0100, Till Kamppeter wrote:

> Thanks for the patch.
> 
> Is it correct that this patch simply replaces the 8-bit characters by 
> "?"? Should one not escape them somehow that the characters are conserved?

Ideally it would convert them from ISO-8859-1 (which they almost
certainly are) to UTF-8.  I couldn't figure out how to do that in
perl, unfortunately.

This is just a 'make it limp along' fix.  The particular case that
triggered it was an HP PPD file with a degrees sign (I think) in the
name for an angular option of some sort.

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/printing-foomatic/attachments/20041127/773bcfde/attachment.pgp


More information about the Printing-foomatic mailing list