diff -r 0c508d87f80b Lib/ntpath.py --- a/Lib/ntpath.py Fri Dec 06 17:25:51 2013 +0200 +++ b/Lib/ntpath.py Fri Dec 06 20:38:51 2013 +0200 @@ -204,7 +204,7 @@ empty = _get_empty(p) if len(p) > 1: sep = _get_sep(p) - normp = normcase(p) + normp = p.replace(_get_altsep(p), sep) if (normp[0:2] == sep*2) and (normp[2:3] != sep): # is a UNC path: # vvvvvvvvvvvvvvvvvvvv drive letter or UNC path diff -r 0c508d87f80b Lib/test/test_ntpath.py --- a/Lib/test/test_ntpath.py Fri Dec 06 17:25:51 2013 +0200 +++ b/Lib/test/test_ntpath.py Fri Dec 06 20:38:51 2013 +0200 @@ -66,6 +66,8 @@ ('', '\\\\conky\\\\mountpoint\\foo\\bar')) tester('ntpath.splitdrive("//conky//mountpoint/foo/bar")', ('', '//conky//mountpoint/foo/bar')) + self.assertEqual(ntpath.splitdrive('//conky/mountpoint\u0130/foo/bar'), + ('//conky/mountpoint\u0130', '/foo/bar')) def test_split(self): tester('ntpath.split("c:\\foo\\bar")', ('c:\\foo', 'bar'))