Problem with os.access with unicode filenames
bleh at bleh.com
Tue Aug 12 02:33:10 CEST 2003
The os.access function gives me this error:
"UnicodeEncodeError: 'ascii' codec can't encode character '\ub4' in
position 31: ordinal not in range(128)"
when I use the os.access function with an Unicode string which contains a
Oddly enough in IDLE: if I do "print u'\ub4'" I get an error, but it
doesn't give me an error if I do "print u'\ub00b4'"
Is there a way to get around this? It works fine when the file name does
not contain that character.
More information about the Python-list