RE the Unicode stuff
http://code.google.com/p/prettytable/issues/detail?id=6 , I don't have
time to work on this but if you want some good test data to add to the
test suite a few good characters to use are:
Euro symbol - in cp1252 (Windows) encoding this takes up 1 byte, in utf8
encoding this takes 3 bytes.
Yen or British pound symbol take 1byte in Latin1 (+ Windows cp1252), and
2 in utf8.
import unicodedata
gbp = u'\u00A3'
gbp = u"\N{POUND SIGN}"
print repr(gbp)
print repr(gbp.encode('cp1252'))
print repr(gbp.encode('utf8'))
print unicodedata.name(gbp)
euro = u'\u20AC'
euro = u"\N{EURO SIGN}"
print repr(euro)
print repr(euro.encode('cp1252'))
print repr(euro.encode('utf8'))
print unicodedata.name(euro)
I've still got scripts using PT so I'll be interested in the new
(patched) version but I'm not in a desperate hurry for it.
Chris