Show More
@@ -10,18 +10,18 b'' | |||||
10 | # |
|
10 | # | |
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 (i.e. | |
14 |
|
|
14 | splitting path, case conversion, etc.) with its encoded bytes. We call | |
15 |
|
|
15 | such a encoding (i.e. shift_jis and big5) as "problematic encoding". | |
16 |
|
|
16 | This extension can be used to fix the issue with those encodings by | |
17 |
|
|
17 | wrapping some functions to convert to unicode string before path | |
18 |
|
|
18 | 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. | |
22 | * Chinese Windows users using big5 encoding. |
|
22 | * Chinese Windows users using big5 encoding. | |
23 | * All users who use a repository with one of problematic encodings |
|
23 | * All users who use a repository with one of problematic encodings on | |
24 |
|
|
24 | case-insensitive file system. | |
25 |
|
25 | |||
26 | This extension is not needed for: |
|
26 | This extension is not needed for: | |
27 | * Any user who use only ascii chars in path. |
|
27 | * Any user who use only ascii chars in path. | |
@@ -29,15 +29,17 b' This extension is not needed for:' | |||||
29 |
|
29 | |||
30 | Note that there are some limitations on using this extension: |
|
30 | Note that there are some limitations on using this extension: | |
31 | * You should use single encoding in one repository. |
|
31 | * You should use single encoding in one repository. | |
32 |
* You should set same encoding for the repository by locale or |
|
32 | * You should set same encoding for the repository by locale or | |
|
33 | HGENCODING. | |||
33 |
|
34 | |||
34 | To use this extension, enable the extension in .hg/hgrc or ~/.hgrc: |
|
35 | To use this extension, enable the extension in .hg/hgrc or ~/.hgrc: | |
35 |
|
36 | |||
36 | [extensions] |
|
37 | [extensions] | |
37 | hgext.win32mbcs = |
|
38 | hgext.win32mbcs = | |
38 |
|
39 | |||
39 |
Path encoding conversion are done between unicode and |
|
40 | Path encoding conversion are done between unicode and | |
40 |
which is decided by mercurial from current locale |
|
41 | encoding.encoding which is decided by mercurial from current locale | |
|
42 | setting or HGENCODING. | |||
41 |
|
43 | |||
42 | """ |
|
44 | """ | |
43 |
|
45 |
General Comments 0
You need to be logged in to leave comments.
Login now