I hate that stupid unicode decode error python always gives me :( I never remember what to do to make it happy
FauxFaux
Generate locales? Change you session/shell/etc.'s LC_ALL / locale?
nikki
no
python doesn't care about locales
FauxFaux
Fail.
nikki
I can run it from a utf-8 locale but it won't print utf-8 unless I tell it to in the right way
Muzzz
import unicode something or other ain't it?
nikki
no idea
nikki wonders how to run perl scripts from python...
would probably be faster ¬_¬
Muzzz
os.system("foo.pl")
warp
nikki: atleast that will be more-or-less fixed in python 3.0
luks
I still don't see how it is broken
FauxFaux
MYTH.
nikki
it's not obvious to me why it's not working
I told it the encoding of the file and told it to encode it when I print, but it still doesn't work
warp
luks: it's annoying to have to be so explicit about string/unicode conversion. having everything as unicode by default will make using python a lot easier IMHO.
luks
can you pastebin the codee and the error?
warp: but unicode is not easy, for example there are 3 different run-time encodings used for different things on windows
FauxFaux
warp: Everything as code points, or as glyphs? ¬_¬
warp
luks: i know it's not. you can save a file on osx and it won't exist afterwards because osx decided to normalize the unicode to non-combined characters or whatever.