public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
@ 2019-04-22  3:52 tamuki at linet dot gr.jp
  2019-04-22  3:55 ` [Bug localedata/24471] " tamuki at linet dot gr.jp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tamuki at linet dot gr.jp @ 2019-04-22  3:52 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

            Bug ID: 24471
           Summary: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be
                    represented in Chinese numeral
           Product: glibc
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: tamuki at linet dot gr.jp
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

In Literary Chinese locale for the Republic of China (lzh_TW), numbers
of 32 or more in year, minute, and second can not be represented in
Chinese numeral:

$ LANG=lzh_TW date -d "1931-04-01 09:00:00" +"%Oy年"
卅一年
$ LANG=lzh_TW date -d "1932-04-01 09:00:00" +"%Oy年"
32年
$ LANG=lzh_TW date -d "2019-04-22 12:31:30" +"%OH時%OM分%OS秒"
十二時卅一分卅秒
$ LANG=lzh_TW date -d "2019-04-22 12:32:30" +"%OH時%OM分%OS秒"
十二時32分卅秒
$ LANG=lzh_TW date -d "2019-04-22 12:32:31" +"%OH時%OM分%OS秒"
十二時32分卅一秒
$ LANG=lzh_TW date -d "2019-04-22 12:32:32" +"%OH時%OM分%OS秒"
十二時32分32秒

In other locales that use alt_digits, they are defined up to 99
elements.  That should also be followed for lzh_TW locale.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/24471] lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
  2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
@ 2019-04-22  3:55 ` tamuki at linet dot gr.jp
  2019-04-22  5:32 ` bluebat at member dot fsf.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tamuki at linet dot gr.jp @ 2019-04-22  3:55 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

--- Comment #1 from TAMUKI Shoichi <tamuki at linet dot gr.jp> ---
I think that alt_digits in lzh_TW should be defined the following
Chinese numerals:

        ja_JP           lzh_TW
0       〇               〇
1       一               一
2       二               二
3       三               三
4       四               四
5       五               五
6       六               六
7       七               七
8       八               八
9       九               九
10      十               十
11      十一              十一
12      十二              十二
13      十三              十三
14      十四              十四
15      十五              十五
16      十六              十六
17      十七              十七
18      十八              十八
19      十九              十九
20      二十              廿
21      二十一             廿一
22      二十二             廿二
23      二十三             廿三
24      二十四             廿四
25      二十五             廿五
26      二十六             廿六
27      二十七             廿七
28      二十八             廿八
29      二十九             廿九
30      三十              卅
31      三十一             卅一
32      三十二             卅二
33      三十三             卅三
34      三十四             卅四
35      三十五             卅五
36      三十六             卅六
37      三十七             卅七
38      三十八             卅八
39      三十九             卅九
40      四十              卌
41      四十一             卌一
42      四十二             卌二
43      四十三             卌三
44      四十四             卌四
45      四十五             卌五
46      四十六             卌六
47      四十七             卌七
48      四十八             卌八
49      四十九             卌九
50      五十              五十
51      五十一             五十一
52      五十二             五十二
53      五十三             五十三
54      五十四             五十四
55      五十五             五十五
56      五十六             五十六
57      五十七             五十七
58      五十八             五十八
59      五十九             五十九
60      六十              六十
61      六十一             六十一
62      六十二             六十二
63      六十三             六十三
64      六十四             六十四
65      六十五             六十五
66      六十六             六十六
67      六十七             六十七
68      六十八             六十八
69      六十九             六十九
70      七十              七十
71      七十一             七十一
72      七十二             七十二
73      七十三             七十三
74      七十四             七十四
75      七十五             七十五
76      七十六             七十六
77      七十七             七十七
78      七十八             七十八
79      七十九             七十九
80      八十              八十
81      八十一             八十一
82      八十二             八十二
83      八十三             八十三
84      八十四             八十四
85      八十五             八十五
86      八十六             八十六
87      八十七             八十七
88      八十八             八十八
89      八十九             八十九
90      九十              九十
91      九十一             九十一
92      九十二             九十二
93      九十三             九十三
94      九十四             九十四
95      九十五             九十五
96      九十六             九十六
97      九十七             九十七
98      九十八             九十八
99      九十九             九十九

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/24471] lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
  2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
  2019-04-22  3:55 ` [Bug localedata/24471] " tamuki at linet dot gr.jp
@ 2019-04-22  5:32 ` bluebat at member dot fsf.org
  2019-04-23  0:14 ` tamuki at linet dot gr.jp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bluebat at member dot fsf.org @ 2019-04-22  5:32 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

Wei-Lun Chao <bluebat at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bluebat at member dot fsf.org

--- Comment #2 from Wei-Lun Chao <bluebat at member dot fsf.org> ---
The patch in Bug 24409 is partially against this issue,
though only appends numbers from 32 to 59.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/24471] lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
  2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
  2019-04-22  3:55 ` [Bug localedata/24471] " tamuki at linet dot gr.jp
  2019-04-22  5:32 ` bluebat at member dot fsf.org
@ 2019-04-23  0:14 ` tamuki at linet dot gr.jp
  2019-04-23  5:08 ` bluebat at member dot fsf.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tamuki at linet dot gr.jp @ 2019-04-23  0:14 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

--- Comment #3 from TAMUKI Shoichi <tamuki at linet dot gr.jp> ---
Hello Wei-Lun-san,

(In reply to Wei-Lun Chao from comment #2)
> The patch in Bug 24409 is partially against this issue,
> though only appends numbers from 32 to 59.

Thank you for the information.

I have a question.  In lzh_TW locale, which of the following is better
when representing numbers from 40 to 49 in Chinese numerals?

40      四十              卌
41      四十一             卌一
42      四十二             卌二
43      四十三             卌三
44      四十四             卌四
45      四十五             卌五
46      四十六             卌六
47      四十七             卌七
48      四十八             卌八
49      四十九             卌九

As far as I examined, it seems that the latter (right side)
representation often appears.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/24471] lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
  2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
                   ` (2 preceding siblings ...)
  2019-04-23  0:14 ` tamuki at linet dot gr.jp
@ 2019-04-23  5:08 ` bluebat at member dot fsf.org
  2019-04-23  7:17 ` tamuki at linet dot gr.jp
  2019-04-23  7:58 ` bluebat at member dot fsf.org
  5 siblings, 0 replies; 7+ messages in thread
From: bluebat at member dot fsf.org @ 2019-04-23  5:08 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

--- Comment #4 from Wei-Lun Chao <bluebat at member dot fsf.org> ---
First, I'm not literary chinese expert :)
In modern chinese, we use 廿(20) and 卅(30) for date format,
but rare with 卌(40) even for time format.
In classical chinese, use of 廿 and 卅 may be more often,
but 卌 is still unusual to see.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/24471] lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
  2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
                   ` (3 preceding siblings ...)
  2019-04-23  5:08 ` bluebat at member dot fsf.org
@ 2019-04-23  7:17 ` tamuki at linet dot gr.jp
  2019-04-23  7:58 ` bluebat at member dot fsf.org
  5 siblings, 0 replies; 7+ messages in thread
From: tamuki at linet dot gr.jp @ 2019-04-23  7:17 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

--- Comment #5 from TAMUKI Shoichi <tamuki at linet dot gr.jp> ---
Thank you.

So, let's use the former (left side) in Comment 3.

By the way, we are trying to implement alternative representation for
year with alternative numeric symbols in glibc (Bug 24453).

In lzh_TW locale, it is Minguo year 108 and has reached three digits.
In this case, the following representations are considered.  In Japan,
these representations are commonly used especially in vertical
writing.

Are these also common in Taiwan?

平成三十一年
民國一〇八年
二〇一九年

This issue is related to Bug 18666.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug localedata/24471] lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral
  2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
                   ` (4 preceding siblings ...)
  2019-04-23  7:17 ` tamuki at linet dot gr.jp
@ 2019-04-23  7:58 ` bluebat at member dot fsf.org
  5 siblings, 0 replies; 7+ messages in thread
From: bluebat at member dot fsf.org @ 2019-04-23  7:58 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24471

--- Comment #6 from Wei-Lun Chao <bluebat at member dot fsf.org> ---
(In reply to TAMUKI Shoichi from comment #5)
> By the way, we are trying to implement alternative representation for
> year with alternative numeric symbols in glibc (Bug 24453).
> In lzh_TW locale, it is Minguo year 108 and has reached three digits.
> In this case, the following representations are considered.  In Japan,
> these representations are commonly used especially in vertical
> writing.
Yes, after patching Bug 24293 we have the same problem.

> Are these also common in Taiwan?
> 平成三十一年
> 民國一〇八年
> 二〇一九年
> This issue is related to Bug 18666.
Yes, these three are common representations in Taiwan.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-23  7:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-22  3:52 [Bug localedata/24471] New: lzh_TW (LC_TIME): Numbers from 32 to 99 can not be represented in Chinese numeral tamuki at linet dot gr.jp
2019-04-22  3:55 ` [Bug localedata/24471] " tamuki at linet dot gr.jp
2019-04-22  5:32 ` bluebat at member dot fsf.org
2019-04-23  0:14 ` tamuki at linet dot gr.jp
2019-04-23  5:08 ` bluebat at member dot fsf.org
2019-04-23  7:17 ` tamuki at linet dot gr.jp
2019-04-23  7:58 ` bluebat at member dot fsf.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).