Show More
@@ -379,7 +379,7 b" if pycompat.sysplatform == 'darwin':" | |||||
379 | u = s.decode('utf-8') |
|
379 | u = s.decode('utf-8') | |
380 |
|
380 | |||
381 | # Decompose then lowercase (HFS+ technote specifies lower) |
|
381 | # Decompose then lowercase (HFS+ technote specifies lower) | |
382 | enc = unicodedata.normalize('NFD', u).lower().encode('utf-8') |
|
382 | enc = unicodedata.normalize(r'NFD', u).lower().encode('utf-8') | |
383 | # drop HFS+ ignored characters |
|
383 | # drop HFS+ ignored characters | |
384 | return encoding.hfsignoreclean(enc) |
|
384 | return encoding.hfsignoreclean(enc) | |
385 |
|
385 |
General Comments 0
You need to be logged in to leave comments.
Login now