[PATCH 1 of 4 STABLE] i18n: use UTF-8-ed string to check use of characters reserved for Windows

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Sat Dec 24 23:03:01 CST 2011


At Sun, 25 Dec 2011 12:47:33 +0900,
Shun-ichi Goto wrote:
> 
> 2011/12/25 Matt Mackall <mpm at selenic.com>:
> >> some problematic encoding (e.g.: cp932) uses characters reserved for
> >> Windows (e.g.: "|") in byte sequence of multi byte characters.
> >
> > If I understand this correctly, this bug is specific to the win32mbcs
> > extension and thus belongs in that extension.
> 
> Yes, such cp932 specific things should be covered by win32mbcs
> as possible.  And win32mbcs already wrap the checkwinfilename().
> Is there any problem with win32mbcs? > Katsunori

This patch is for non-Windows platform, like cygwin.

And sorry, this 1st patch causes problem with win32mbcs extension in
"encoding.fromlocal()".

I'll post patches that (1) fixes win32mbcs for cygwin, and (2) folds
test into exising ones, so pleaese discard this series.

----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp


More information about the Mercurial-devel mailing list