This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2021年03月04日 09:42 by voramva, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg388079 - (view) | Author: Сергей М (voramva) | Date: 2021年03月04日 09:42 | |
I try to normalize case for path with german characters: ``` >os.path.normcase(r'c:\asd\ASDẞ') 'c:\\asd\\asdß' ``` But in OS Windows r'c:\asd\ASDẞ' and r'c:\asd\asdß' are different paths. |
|||
| msg388350 - (view) | Author: Сергей М (voramva) | Date: 2021年03月09日 11:04 | |
I've found the useful function https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-charlowerw |
|||
| msg388364 - (view) | Author: Eryk Sun (eryksun) * (Python triager) | Date: 2021年03月09日 15:06 | |
ntpath.normcase() needs a platform-dependent implementation that calls LCMapStringEx() in Windows, in order to properly agree with case-insensitive Windows filesystems. See bpo-42658. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:42 | admin | set | github: 87563 |
| 2021年03月09日 15:06:51 | eryksun | set | status: open -> closed superseder: os.path.normcase() is inconsistent with Windows file system nosy: + eryksun messages: + msg388364 resolution: duplicate stage: resolved |
| 2021年03月09日 11:04:21 | voramva | set | messages: + msg388350 |
| 2021年03月04日 09:42:06 | voramva | create | |