SirAnthony/slpp

No unicode encoding

embryo10 opened this issue · 1 comments

While I can decode lua objects with unicode characters ok, when I try to encode a dictionary like this

{1: 'testing', 2: {'unicode value': 'κείμενο', 'int value': 456123}}

I get a UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 1: ordinal not in range(128) error
Any fix for this?

Fixed after #19