hgext/win32mbcs.py
changeset 7983 7b813bdbd5d0
parent 7948 de377b1a9a84
child 8001 c0e3aca616de
equal deleted inserted replaced
7982:cab4a521a3fd 7983:7b813bdbd5d0
    11 """allow to use MBCS path with problematic encoding.
    11 """allow to use MBCS path with problematic encoding.
    12 
    12 
    13 Some MBCS encodings are not good for some path operations
    13 Some MBCS encodings are not good for some path operations
    14 (i.e. splitting path, case conversion, etc.) with its encoded bytes.
    14 (i.e. splitting path, case conversion, etc.) with its encoded bytes.
    15 We call such a encoding (i.e. shift_jis and big5) as "problematic
    15 We call such a encoding (i.e. shift_jis and big5) as "problematic
    16 encoding".  This extension can be used to fix the issue with those
    16 encoding". This extension can be used to fix the issue with those
    17 encodings by wrapping some functions to convert to unicode string
    17 encodings by wrapping some functions to convert to unicode string
    18 before path operation.
    18 before path operation.
    19 
    19 
    20 This extension is usefull for:
    20 This extension is usefull for:
    21  * Japanese Windows users using shift_jis encoding.
    21  * Japanese Windows users using shift_jis encoding.