I hate that stupid unicode decode error python always gives me :( I never remember what to do to make it happy
2008-12-01 33617, 2008
FauxFaux
Generate locales? Change you session/shell/etc.'s LC_ALL / locale?
2008-12-01 33627, 2008
nikki
no
2008-12-01 33631, 2008
nikki
python doesn't care about locales
2008-12-01 33643, 2008
FauxFaux
Fail.
2008-12-01 33601, 2008
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
2008-12-01 33658, 2008
Muzzz
import unicode something or other ain't it?
2008-12-01 33601, 2008
nikki
no idea
2008-12-01 33609, 2008
nikki wonders how to run perl scripts from python...
2008-12-01 33619, 2008
nikki
would probably be faster ¬_¬
2008-12-01 33645, 2008
Muzzz
os.system("foo.pl")
2008-12-01 33636, 2008
warp
nikki: atleast that will be more-or-less fixed in python 3.0
2008-12-01 33601, 2008
luks
I still don't see how it is broken
2008-12-01 33603, 2008
FauxFaux
MYTH.
2008-12-01 33632, 2008
nikki
it's not obvious to me why it's not working
2008-12-01 33655, 2008
nikki
I told it the encoding of the file and told it to encode it when I print, but it still doesn't work
2008-12-01 33606, 2008
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.
2008-12-01 33612, 2008
luks
can you pastebin the codee and the error?
2008-12-01 33651, 2008
luks
warp: but unicode is not easy, for example there are 3 different run-time encodings used for different things on windows
2008-12-01 33613, 2008
FauxFaux
warp: Everything as code points, or as glyphs? ¬_¬
2008-12-01 33620, 2008
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.