Yes this is a linxu issue although locale is se to utf-8 root@nikos [~]# locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= root@nikos [~]#
Since 'locale' is set to 'utf-8' why when i: 'mv 'Euxi tou Ihsou.mp3' 'Ευχή του Ιησού.mp3' lead to that unknown encoded bytestream '\305\365\367\336\\364\357\365\311\347\363\357\375.mp3' which isn't by default an utf-8 bytestream as locale indicated and python expected? how 'files.py' is supposed to read this file now using: # Compute a set of current fullpaths fullpaths = set() path = "/home/nikos/public_html/data/apps/" for root, dirs, files in os.walk(path): for fullpath in files: fullpaths.add( os.path.join(root, fullpath) ) ???? -- http://mail.python.org/mailman/listinfo/python-list