[Pythonmac-SIG] Getting Terminal input and output encoding

2006-02-16 Thread Nir Soffer
OS X uses always utf-8 for input to the shell. Unless I am missing something? Next, how can you get the Terminal output encoding? For example, what if a user changed the Character Set Encoding to Western (Mac OS Roman) - how can you detect this setting from Python? Best Regards, Nir So

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 co

Re: [Pythonmac-SIG] Fixing the documentation...

2006-04-19 Thread Nir Soffer
l. Some of the docs are quite useless, and the only way is to use help(modulename), maybe the html can be generated from the module docstrings? Modules I used: * Carbon.File - to get the real case of a file name * MacOS - to get file type and creator code * plistlib - to read and write plist files Best Regards, Nir Soffer ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-20 Thread Nir Soffer
e, then use Save for Web and make sure you embed the colorsync profile in the file. Then it will display fine on Safari or Preview or any other Cocoa app. Best Regards, Nir Soffer ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.pyt

[Pythonmac-SIG] tarfile fails silently on 10.4?

2007-01-20 Thread Nir Soffer
ferences between bsd tar and gnu tar, we simply moved to python only solution, which worked great. Best Regards, Nir Soffer ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] tarfile fails silently on 10.4?

2007-01-21 Thread Nir Soffer
s version seems to be the same version installed by default on 10.4.8. Trying to extract the new tarball fail after 47 members. Best Regards, Nir Soffer ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig