www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <e22ab97b1001222149r3c217decmb0da069d7049c896@mail.gmail.com> |
References: | <e22ab97b1001222149r3c217decmb0da069d7049c896 AT mail DOT gmail DOT com> |
Date: | Sat, 23 Jan 2010 14:58:56 +0900 |
Message-ID: | <e22ab97b1001222158p3b757ac8wde671c1ce3de01fa@mail.gmail.com> |
Subject: | Re: Please support CP932. (I have problem using subversion with SJIS) |
From: | Nayuta Taga <ganaware AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Pardon me. I forgot to attach my patch. 2010/1/23 Nayuta Taga <ganaware AT gmail DOT com>: > Please support CP932. =A0Because CP932 is not equal to SJIS, I have > problem using subversion when LANG=3Dja_JP.SJIS . =A0With the attached > patch and LANG=3Dja_JP.CP932, I can use subversion as expected. Index: newlib/libc/locale/locale.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/newlib/libc/locale/locale.c,v retrieving revision 1.33 diff -u -p -r1.33 locale.c --- newlib/libc/locale/locale.c 22 Jan 2010 13:03:42 -0000 1.33 +++ newlib/libc/locale/locale.c 23 Jan 2010 03:59:48 -0000 @@ -659,6 +659,13 @@ loadlocale(struct _reent *p, int categor #endif /* _MB_EXTENDED_CHARSETS_WINDOWS */ #endif break; + case 932: + mbc_max =3D 2; +#ifdef _MB_CAPABLE + l_wctomb =3D __sjis_wctomb; + l_mbtowc =3D __sjis_mbtowc; +#endif + break; default: return NULL; } -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |