internationalization - Double Byte numbers in asp.net -
We are developing a site that has a Japanese localization in that site, we asp: label and show many dynamic fields using such controls.
Recently, we needed to display numbers using "double-byte characters".
Although I previously thought that the customer was confused, he sent me an email:
1234567890 1234567890 And this Shows that I was wrong, and in reality there are "wide" number characters available
How to Dynamically ASP.NET Switch?
Update : The second sample is called "FULLWIDTH" character. The question can be rephrased as:
How can I asp.net display the integer number automatically when current culture is JP?
Apparently, there are some other characters in Unicode that look like 'normal' numbers, But are widely displayed by default.
Here is the text of your pasted question in Notepad, saved as Unicode, and is run through XXD:
0000000: FFF 3100 3200 3300 3400 3500 3600 3700 ..1.2.3.4.5.6.7. 0000010: 3800 3900 3000 0d00 0a00 11ff 12ff 13ff 8.9.0 ........... 0000020: 14FFFFF 16FAF 17FF18FF19FF10FD99 ..... ........... 0000030: 0 A 200 0a ... It seems that '1' is 0x0031, 'special 1' is 0xff11 if Using CSS to display 'normal' number, but there is not an option with a wide font, I would say that you have to take a number, it must be converted to a string, between 0x0000 and 0x0039 in each character Add 0xff10 to which you call N are to achieve it.
Comments
Post a Comment