Re: [Pythonmac-SIG] Getting Terminal input and output encoding

2006-02-16 Thread Nir Soffer
On 16 Feb, 2006, at 15:00, Nir Soffer wrote: > I noticed that it does not matter what encoding you set in the Terminal > window setting, anything you type will use utf-8 encoding. I was wrong, it does change the input encoding when you type or display strings. However, testing common commands

[Pythonmac-SIG] Getting Terminal input and output encoding

2006-02-16 Thread Nir Soffer
I'm trying to find a way to get the user encoding used for example for command line arguments e.g.: # creating an Hebrew file name... touch עברית ./foo.py * From my experience with Mac OS X 10.0-3, I know the foo.py will always get hebrew-name using utf-8. You can al