Hi,
just began 1 week ago with DrPython, all goes fine so far, except this error message I get when saving a file (but the file is saved anyway and usable)
an idea to remove/hide this annoyance ?
thanks
Jean
=====
Error Encoding fr_FR
Trying other encoding...
Traceback (most recent call last):
File "/usr/share/drpython/drpython.py", line 1064, in GetEncodedText
sText=unicode(text, self.encodings[0]).encode(encoding)
LookupError: unknown encoding: fr
=====
system is Mandrake10 "official",
python is 2.3.4,
wxPython is 2.5.1,
drPython is 3.3.1,
all "LC" entries in "env" show as "fr_FR"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, everything looks OK, I tried saving a file with all sorts of accented letters, etc, it comes back perfect after a save/close/reopen...
since the last line of the message talks about "fr" only (while the actual system locale is "fr_FR") could it have to do with the underscore beeing used as a delimiter, i mean truncating the actual string in "fr" ???
Anyway, that DrPython is superb ! Thanks again.
Jean
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
just began 1 week ago with DrPython, all goes fine so far, except this error message I get when saving a file (but the file is saved anyway and usable)
an idea to remove/hide this annoyance ?
thanks
Jean
=====
Error Encoding fr_FR
Trying other encoding...
Traceback (most recent call last):
File "/usr/share/drpython/drpython.py", line 1064, in GetEncodedText
sText=unicode(text, self.encodings[0]).encode(encoding)
LookupError: unknown encoding: fr
=====
system is Mandrake10 "official",
python is 2.3.4,
wxPython is 2.5.1,
drPython is 3.3.1,
all "LC" entries in "env" show as "fr_FR"
Hmmmm. Does everything display correctly?
Thanks, I'll check it out.
Dan
I took out the warning dialog.
(Change is in cvs, will be in the next version of drpython).
Cheers,
Dan
Thanks, Dan
Yes, everything looks OK, I tried saving a file with all sorts of accented letters, etc, it comes back perfect after a save/close/reopen...
since the last line of the message talks about "fr" only (while the actual system locale is "fr_FR") could it have to do with the underscore beeing used as a delimiter, i mean truncating the actual string in "fr" ???
Anyway, that DrPython is superb ! Thanks again.
Jean