-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b42
-
generic
-
generic
-
Verified
locale: ru_Ru;
jdk: 1.5.0-beta
platform: solaris, windows (all)
I believe there is a bug with formatting currency in ru_RU.
1. To reproduce, login into ru_RU.
2. Run the attached Currency.java file.
Currently, the output of the attached test is '3pyb' (this is an approximate english translation of the output, since bugtraq does not represent russian characters correctly).
(1) I think the correct format for the output should be '3 pyb.' (add a space between the number and the word, add a period after the word).
(2) In case the input is 3.9 the output can be '3,9 pyb.' or '3 pyb. 90 kon.' Second output is an equivalent valid format in Russian.
[Exact unicode values for pyb: 0440 0443 0431 and kon: 043A 043E 043F]
You can see an example in http://www.rambler.ru/db/news/msg.html?mid=3876923&s=2
jdk: 1.5.0-beta
platform: solaris, windows (all)
I believe there is a bug with formatting currency in ru_RU.
1. To reproduce, login into ru_RU.
2. Run the attached Currency.java file.
Currently, the output of the attached test is '3pyb' (this is an approximate english translation of the output, since bugtraq does not represent russian characters correctly).
(1) I think the correct format for the output should be '3 pyb.' (add a space between the number and the word, add a period after the word).
(2) In case the input is 3.9 the output can be '3,9 pyb.' or '3 pyb. 90 kon.' Second output is an equivalent valid format in Russian.
[Exact unicode values for pyb: 0440 0443 0431 and kon: 043A 043E 043F]
You can see an example in http://www.rambler.ru/db/news/msg.html?mid=3876923&s=2
- relates to
-
JDK-4942982 Obsolete currency code for Russia
-
- Resolved
-
-
JDK-4978231 RFE: Longer currency format support
-
- Open
-