- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Fri, 12 Jul 2013 12:03:37 -0700
- To: www-style@w3.org
On 07/11/2013 05:29 PM, John Hudson wrote: > On 11/07/13 5:14 PM, fantasai wrote: > >> What's used for the zeros in 1.00 when it's written looking kinda like 1°°? > > Good question. That's a very problematic convention from a text encoding perspective, because if you treat the superscripted > zeros as glyph variants, then your text is actually 100, and may display as such if the font is change (unless you get really > funky with contextual substition such that the decimal separator is swallowed in the superscript substitution; but that's > prone to problems because different locales use different decimal separators). > > The only safe way to ensure that display is to use Unicode superscript numeral characters: 1⁰⁰. But, really, some vernacular > writing conventions were only ever intended to be scribbled on a piece of cardboard by a greengrocer, not to subject of > computer text encoding and interchange. Fair enough. Some conventions include the decimal point, though. Like this: http://pcbdaily.com/wp-content/uploads/on-sale.jpg In which case it's not ambiguous. :) This is reasonably common in printed advertisements, not just hand-written signs. ~fantasai
Received on Friday, 12 July 2013 19:04:05 UTC