Author thatch
Recipients thatch
Date 2010-02-25.00:17:56
SpamBayes Score 0.00138699
Marked as misclassified No
Message-id <1267057078.57.0.378294218982.issue8016@psf.upfronthosting.co.za>
In-reply-to
Content
Based on codepage 850, codepage 858 adds support for the euro symbol[1].  This codepage is used on many thermal receipt printers, such as the Epson TM-T88IV and NCR 7198 as the only way to print a euro.  There is no CP858.TXT on the unicode.org ftp, so I've attached the diff of the TXT file to create it from CP850, as well as the diff for cp858.py against cp850.py.

The codepage is supported by java[2] and by iconv[3], and it'd be nice if future versions of python could support this natively.

Let me know if there's a better way to provide a fix.

[1]: http://en.wikipedia.org/wiki/CP858
[2]: http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html
[3]: http://www.gnu.org/software/libiconv/
History
Date User Action Args
2010-02-25 00:17:58thatchsetrecipients: + thatch
2010-02-25 00:17:58thatchsetmessageid: <1267057078.57.0.378294218982.issue8016@psf.upfronthosting.co.za>
2010-02-25 00:17:57thatchlinkissue8016 messages
2010-02-25 00:17:56thatchcreate