[Mono-bugs] [Bug 53022][Nor] Changed - floating point numbers missing decimal part after setting culture
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Jan 2004 20:17:51 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by dave-mono@earth.li.
http://bugzilla.ximian.com/show_bug.cgi?id=53022
--- shadow/53022 2004-01-29 20:14:43.000000000 -0500
+++ shadow/53022.tmp.16664 2004-01-29 20:17:51.000000000 -0500
@@ -73,6 +73,53 @@
Right, parsing better, however the underlying ICU data is wrong.
------- Additional Comments From dave-mono@earth.li 2004-01-29 20:14 -------
Created an attachment (id=6564)
Code to create some entries to paste into an ICU file.
+
+------- Additional Comments From dave-mono@earth.li 2004-01-29 20:17 -------
+I just attached code to run on windows to generate the NumberPatterns,
+NumberElements and DateTimePatterns sections for an ICU locale entry
+(as in icu/source/data/locales/
+
+If you run it on en-US on MS.NET, you get:
+
+ NumberPatterns {
+ "#,##0.##;-#,##0.##",
+ "\u00a4#,##0.00;(\u00a4#,##0.00)",
+ "#,##0.## %",
+ "#E0",
+ }
+
+
+ NumberElements {
+ ".",
+ ",",
+ ";",
+ "%",
+ "0",
+ "#",
+ "-",
+ "E",
+ "%",
+ "Infinity",
+ "NaN",
+ ".",
+ }
+
+
+ DateTimePatterns {
+ "",
+ "",
+ "h:mm:ss tt",
+ "h:mm tt",
+ "",
+ "dddd, MMMM dd, yyyy",
+ "",
+ "M/d/yyyy",
+ }
+
+If you paste it into icu/source/data/locales/en_US.txt, then rebuild
+ICU, you get better results from the tests.
+
+