Hi, On Fri, 16 Feb 2018 09:51:33 +0000 Vasilis Vlachoudis <vasilis.vlachou...@cern.ch> wrote:
> When I run your program > > Download$ python codec.py > utf-8 > Download$ LC_ALL=C python codec.py > ansi_x3.4-1968 > Download$ LC_ALL=en_US.UTF-8 python codec.py > utf-8 > > it seems that python properly recognizes the LC_ALL setting maybe some other environment variable causes confusion, it seems like LC_CTYPE can cause problems, AFAIR that's why it's overridden in my function call. The following issue I found at bugs.python.org talks about this (not the same as your problem, but somehow similar looking; seems like even a terminal program can be the culprit :) https://bugs.python.org/issue18378 Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. Sometimes a feeling is all we humans have to go on. -- Kirk, "A Taste of Armageddon", stardate 3193.9 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss