From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dijit/tests/i18n/currency.html | 210 +++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 includes/js/dijit/tests/i18n/currency.html (limited to 'includes/js/dijit/tests/i18n/currency.html') diff --git a/includes/js/dijit/tests/i18n/currency.html b/includes/js/dijit/tests/i18n/currency.html new file mode 100644 index 0000000..62108b2 --- /dev/null +++ b/includes/js/dijit/tests/i18n/currency.html @@ -0,0 +1,210 @@ + + +
+ ++ Before start this test, make sure the dojo/cldr/nls contains the data for "zh-cn", "fr-fr", and "ja-jp" + and currencies CNY, EGP, EUR, JPY. If not, convert these CLDR data and put them there. +
+ + + ++ Some browsers like FireFox have a bug on the non-breaking space character (U+00A0, or   or +   in HTML). + They always convert the NBSP character to a normal space (U+0020,   in HTML) automatically in the following circumstances: +
++ You cannot read a real NBSP character from an INPUT element on these browsers. It causes issues when some formatting data in CLDR + contains an NBSP character. For example, +
++ So Dojo may generate formatted data with NBSP characters in it but cannot read NBSP charaters from user's input in some browser. +
+ +
+ Most Bidi currency symbols contain an LTR-MARK (U+200F) character at the very beginning.
+ But Firefox ignores it when it is not in any escaping form. This should be a bug of Firefox.
+ For example, click alert(''.indexOf('\u+200F')) (there is a U+200F in the empty-looking string):
+
+ But if the U+200F is in some escaping form, Firefox will work as well as other browsers.
+ Click alert('\u200F'.indexOf('\u+200F')) to see the same result both in Firefox and IE:
+
+ Strictly speaking, the data conversion must support non-European number characters in some locales like Arabic and Hindi. + For example, ICU formats a number data into Indic number characters by default in the Arabic locale. + However, currently Dojo does not support this feature (Dojo uses the default number conversion of the browser). +
+ + + -- cgit v1.3-2-g0d8e