> As Walter explains, he has \u006f\u0308, which is > > \N{LATIN SMALL LETTER O}\N{COMBINING DIAERESIS} > > This could be normalized to > > \N{LATIN SMALL LETTER O WITH DIAERESIS} > > which then can be encoded as Latin-1. This, of course, requires the > databases for normalization (canonical composition and decomposition). But if you pass the normalized string (or the Latin-1 string) to open(), will it find the file? I.e. if the filesystem has the unnormalized name stored in its directory, will filesystem requests normalize filenames before comparing them? Jack, can you try to do that? Can you try open('fr\xf6r') in that directory? --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4