delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/26/07:38:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 26 May 2010 13:38:31 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: strftime %b is broken on ja_JP locale
Message-ID: <20100526113831.GF10652@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTim2nxVJS5qleVkgBAsTxXGEaKNdRz4-3l9Tbavj AT mail DOT gmail DOT com> <20100512153117 DOT GB25439 AT calimero DOT vinschen DOT de> <u39xvw8lm DOT fsf AT acm DOT org> <20100514192716 DOT GC8785 AT calimero DOT vinschen DOT de> <u1vdd28i9 DOT fsf AT acm DOT org> <20100517191950 DOT GA27776 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20100517191950.GA27776@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On May 17 21:19, Corinna Vinschen wrote:
> On May 15 11:39, Kazuhiro Fujieda wrote:
> > >>> On Fri, 14 May 2010 21:27:16 +0200
> > >>> Corinna Vinschen said:
> > 
> > >> It should return "5\u6708" in Japanese and "5\uc6d4" in
> > >> Korea. MSDN in Japanese describes so. It, however, returns "5"
> > >> in both locales.
> > >
> > > Can you please tell us the number of the knowledge base article saying
> > > so?
> > 
> > There is only a Japanese article:
> > http://msdn.microsoft.com/ja-jp/library/cc422084.aspx
> 
> Thanks for the URL.  It's incredible that such important information is
> not available in English.
> 
> > > Does this really only affect the lcids 411 and 412?
> > 
> > As far as I know, Yes. 
> 
> Ok, I'll apply your patch as soon as I'm back to work in a couple of
> days.

I applied a somewhat different version of the patch.  I moved the
conditional out of the loop, changed the reference to the numerical
lcids into MAKELANGID statements and added a comment.  It works for
me.  Please test it as well.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019