delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/14/22:40:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_SUB_PCT_LETTER,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: strftime %b is broken on ja_JP locale
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>
From: Kazuhiro Fujieda <fujieda AT acm DOT org>
Date: Sat, 15 May 2010 11:39:42 +0900
In-Reply-To: <20100514192716.GC8785@calimero.vinschen.de> (Corinna Vinschen's message of "Fri\, 14 May 2010 21\:27\:16 +0200")
Message-ID: <u1vdd28i9.fsf@acm.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt)
MIME-Version: 1.0
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 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

This article says GetDateTimeFormat returns "1\u6708",
"2\u6708", and so on for the format string "MMM" with the use of
LOCALE_SABBREVMONTHNAME.

> Does this really only affect the lcids 411 and 412?

As far as I know, Yes. 

-- 
Kazuhiro Fujieda
fujieda AT acm DOT org

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