Still can't load a file with swedish charcters.
If its any help I can send you the file I'm trying to load. Idle handles this perfectly, maybe you could borrow some code from there ?
I'm running drpython on Windows XP.
I get the following error:
Error Encoding utf-8
Traceback (most recent call last):
File "F:\Program\Python2_3\drpython-3.6.10\drUTF8.py", line 76, in SetEncodedText
sText=unicode(text, 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 107098-107100: invalid data
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still can't load a file with swedish charcters.
If its any help I can send you the file I'm trying to load. Idle handles this perfectly, maybe you could borrow some code from there ?
I'm running drpython on Windows XP.
I get the following error:
Error Encoding utf-8
Traceback (most recent call last):
File "F:\Program\Python2_3\drpython-3.6.10\drUTF8.py", line 76, in SetEncodedText
sText=unicode(text, 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 107098-107100: invalid data
Yes, if you could send me the file that would be very helpful (You can post it as a tracker item, or email it to me).