]> git.ipfire.org Git - thirdparty/cups.git/commit
Save work on transcoding PPD text strings from the PPD encoding to
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 14 Mar 2006 22:23:37 +0000 (22:23 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 14 Mar 2006 22:23:37 +0000 (22:23 +0000)
commited04873a8840070eff72f8bc143f140f96f288dc
tree482acb8a284d5c6fcc4b9de4df9e519a4baab18d
parent9fa5c62d51c6adc1c22a4b338c5fe71b013a248c
Save work on transcoding PPD text strings from the PPD encoding to
UTF-8 (STR #1475)

cups/ppd.c:
    - ppdOpen2(): Add calls to cupsCharsetToUTF8 and
      ppd_get_encoding.
    - ppd_get_encoding(): Added.
    - ppd_get_group(): Added encoding argument, call
      cupsCharsetToUTF8().

scheduler/printers.c:
    - cupsdSetPrinterAttrs(): Use ppd->nickname directly since it is
      transcoded for us now in ppdOpen2().
    - transcode_nickname(): Removed.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5292 7a7537e8-13f0-0310-91df-b6672ffda945
cups/ppd.c
scheduler/printers.c