Internationalised Computer Science Exercises

Richard Wordingham via Unicode unicode at unicode.org
Mon Jan 22 17:02:42 CST 2018


On Mon, 22 Jan 2018 18:55:16 +0100
Frédéric Grosshans via Unicode <unicode at unicode.org> wrote:

> A simple challenge is to write a function which localize numbers in a 
> script having decimal digits or parse them (i.e. which have
> characters with property Numeric_Type=Decimal, as explained in §4.6
> of the Unicode 10 standard). The list of these scripts is specified
> in table 22-3. There is usually a most one set of digits/script (with
> the exception of Arabic, Myanmar and Tai Tham).

Presumably you specify the task by defining the digit for zero.  Would
you expect them to successfully parse '10︀2' (with diagonal in middle
digit) as opposed to '102'?  Do you expect them to get the New Tai Lue
form for the number '1' correct - it's U+19DA rather than U+19D1!

Richard.



More information about the Unicode mailing list