Know i tries the decode thing the moment the string join.

for root, dirs, files in os.walk(path):
        for fullpath in files:
                fullpaths.add( os.path.join(root, fullpath).decode('latin-1') )

But the /www/data/apps folder have inside them both english & greek filenames

It's clear to me now that this is a matter of encoding-decoding issue.
But encode to what and decode to what other?

How can the script encode and decode properly when it has  mix of both english 
and weird-greek endoing filanems inside its corresponding folder?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to