Re: strftime %b is broken on ja_JP locale

2010-05-26 Thread Corinna Vinschen
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" > >

Re: strftime %b is broken on ja_JP locale

2010-05-17 Thread Corinna Vinschen
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

Re: strftime %b is broken on ja_JP locale

2010-05-14 Thread Kazuhiro Fujieda
>>> 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

Re: strftime %b is broken on ja_JP locale

2010-05-14 Thread Corinna Vinschen
On May 14 10:55, Kazuhiro Fujieda wrote: > >>> On Wed, 12 May 2010 17:31:18 +0200 > >>> Corinna Vinschen said: > > > No, that's not broken, even if it seems so. Cygwin fetches the > > localized strings from the underlying OS, not from a Cygwin-specific > > locale database. What you see as resul

Re: strftime %b is broken on ja_JP locale

2010-05-13 Thread Kazuhiro Fujieda
>>> On Wed, 12 May 2010 17:31:18 +0200 >>> Corinna Vinschen said: > No, that's not broken, even if it seems so. Cygwin fetches the > localized strings from the underlying OS, not from a Cygwin-specific > locale database. What you see as results above is what *Windows* > returns for the full and

Re: strftime %b is broken on ja_JP locale

2010-05-12 Thread Corinna Vinschen
On May 12 22:27, IWAMURO Motonori wrote: > Hi. > > strftime %b is broken on ja_JP locale on cygwin-1.7.5-1. > [...] > - result on Cygwin: [5月][5] - missing suffix "月" (U+6708). > - result on Debian lenny: [5月][ 5月] No, that's not broken, even if it seems so. Cyg

strftime %b is broken on ja_JP locale

2010-05-12 Thread IWAMURO Motonori
Hi. strftime %b is broken on ja_JP locale on cygwin-1.7.5-1. [monthtest.c] #include #include #include int main(void) { time_t now; struct tm *tm; char buffer[4096]; setlocale(LC_ALL, "ja_JP.UTF-8"); time(&now); tm = localtime(&now); strftime(buffer, si