RE: [css3-text] text-transform: han-numerals

Brad Kemper wrote on Friday, October 29, 2010 2:07 PM 
> How about a fourth option for general number formatting? For 
> instance (where "d" stands for "digit"): 
> 
> Number-format: "didid"; /* ideographic "place" separators and 
> no change to decimal market. Perhaps in Western scripts this 
> one is the same as adding commas or localized equiv.?  */
> 
I'd suggest
Number-format: d千d百d十d;

(If you actually wanted a literal "d" in there you'd use "¥d" without the quotes.)

This way, the CSS author could use their preferred characters. How they would specify their preferred zero character is another matter entirely.

And just a pedantic note that I'd hate to have a misnomer like "ideographic" burned into the standards.  Only some Han characters are ideographic (although I admit I don't know whether the number and separator symbols in particular are).

Hope this helps,
Charles Belov
SFMTA Webmaster

Received on Friday, 29 October 2010 22:20:35 UTC