adafruit/Python-Thermal-Printer

Non ASCII Characters

dmohorn opened this issue · 0 comments

Hi - I'm using this library to receive SMS text messages and print. Works, well, but I just discovered that any text other than straight ASCII causes an exception.

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 14: ordinal not in range(128)

If someone could fix this either to print a print-able like character or just strip anything above 128, that would be wonderful!

Great library!