Umlaut in windows path (æ, ø, å, ä, …)

  python-3.x

I try to access a path on Windows network drive. E.g. z:ascii_namenon_ascii_name, or with such an umlaut it would be z:folderfolder with æ.

os.path.join returns z:\folderfolder with æ, but I get a FileNotFoundError.
I’m running this using Anaconda3 on Windows 10. sys.getfilesystemencoding() returns ‘utf-8’.

I found some Python2 related threads that didn’t get me any further. I would be very grateful for help and ideas.

Source: Python-3x Questions

LEAVE A COMMENT