Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error when using a unicode filename on Windows #833
I am not totally sure this is the right place, but you will tell me :)
And such an "Ü" seems to break everything:
Is this already known?
Our Windows CI failed with a similar error when I added a new unicode-filename test. So that gives me one way to reproduce it, now we just need to figure out a fix.
See lines 1065 - 1109.
This is the actual error outside of MkDocs.
Python 2.7.10 (default, Aug 18 2015, 10:37:14) [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from urllib import pathname2url >>> pathname2url(u"Ü") /home/dougal/.pyenv/versions/2.7.10/lib/python2.7/urllib.py:1303: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal return ''.join(map(quoter, s)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/dougal/.pyenv/versions/2.7.10/lib/python2.7/urllib.py", line 61, in pathname2url return quote(pathname) File "/home/dougal/.pyenv/versions/2.7.10/lib/python2.7/urllib.py", line 1303, in quote return ''.join(map(quoter, s)) KeyError: u'\xdc'