Use NFKD instead of NFKC because that's what macOS uses by default
This commit is contained in:
parent
c27c259282
commit
8ec9ea9629
@ -54,8 +54,8 @@ if sys.version[0] == '2':
|
|||||||
|
|
||||||
|
|
||||||
def normalize_path(path):
|
def normalize_path(path):
|
||||||
if FSENCODING == 'utf-8' or FSENCODING == 'UTF-8':
|
if FSENCODING in ('utf-8', 'UTF-8'):
|
||||||
return unicodedata.normalize('NFKC', path)
|
return unicodedata.normalize('NFKD', path)
|
||||||
else:
|
else:
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user