Τη Τετάρτη, 5 Ιουνίου 2013 12:47:17 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:

> >This indicates that i'am reading the filenames in a different encoding than 
> >> > >what they actually are? What is i try to use bytes for path 
> >specifications,  > > >have Python decode them in 'utf-8' ?

> > fullpaths.add( os.path.join(root, fullpath).encode('utf-8') )

> For some reason you have an invalid Unicode codepoint in your string. Fix 
> that.

Can you be more clear please?
my string is "Ευχή του Ιησού.mp3". Just a Greek filename with spaces.
Is there a problem when a filename contain both english and greek letters?
Isn't it still a unicode stream?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to