[PATCH] Add cp950 as problematic encoding

Matt Mackall mpm at selenic.com
Thu Jun 4 10:35:58 CDT 2009


On Thu, 2009-06-04 at 21:24 +0900, Shun-ichi Goto wrote:
> # HG changeset patch
> # User Shun-ichi GOTO <shunichi.goto at gmail.com>
> # Date 1244118211 -32400
> # Node ID cf6355553db790b1599600f105f0e6585c4e7bbf
> # Parent  0d8a8da07aa579df898d05d23e3ae3ca595b4c2a
> Add cp950 as problematic encoding which is used in chinese windows.
> 
> diff -r 0d8a8da07aa5 -r cf6355553db7 hgext/win32mbcs.py
> --- a/hgext/win32mbcs.py	Tue May 05 10:57:27 2009 +0900
> +++ b/hgext/win32mbcs.py	Thu Jun 04 21:23:31 2009 +0900
> @@ -112,7 +112,7 @@
>  problematic_encodings = '''big5 big5-tw csbig5 big5hkscs big5-hkscs
>   hkscs cp932 932 ms932 mskanji ms-kanji shift_jis csshiftjis shiftjis
>   sjis s_jis shift_jis_2004 shiftjis2004 sjis_2004 sjis2004
> - shift_jisx0213 shiftjisx0213 sjisx0213 s_jisx0213'''
> + shift_jisx0213 shiftjisx0213 sjisx0213 s_jisx0213 950 cp950 ms950 '''

Queued, thanks.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list