WTF? Printing unicode strings

Robert Kern robert.kern at
Fri May 19 02:35:26 CEST 2006

Ron Garret wrote:
> In article <mailman.5917.1147995329.27775.python-list at>,
>  Robert Kern <robert.kern at> wrote:
>>Ron Garret wrote:
>>>I'm using an OS X terminal to ssh to a Linux machine.
>>Click on the "Terminal" menu, then "Window Settings...". Choose "Display" 
>>the combobox. At the bottom you will see a combobox title "Character Set
>>Encoding". Choose "Unicode (UTF-8)".
> It was already set to UTF-8.

Then take a look at your LANG environment variable on your Linux machine. For
example, I have LANG=en_US.UTF-8 on my Linux machine, and I can ssh into it from
a UTF-8-configured and print unicode strings just fine.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the Python-list mailing list