unicode shutil.copy() changes a file name during copy?

Jerry Hill malaclypse2 at gmail.com
Wed Feb 16 14:17:28 EST 2011


On Wed, Feb 16, 2011 at 1:28 PM, dave <anbaricforce at gmail.com> wrote:
> figure it out.  it's very easy to test it yourself, just make a file
> with the section symbol in it, then try to copy it with python 2.7.1

This works fine for me on Windows XP and python 2.6.4 on an NTFS
formatted drive.  Are either your source or destination network
drives?  What does sys.getfilesystemencoding() say the encoding of
your filesystem is?

-- 
Jerry



More information about the Python-list mailing list