Re: Internationalised Computer Science Exercises

From: Richard Wordingham via Unicode <unicode_at_unicode.org>
Date: Mon, 22 Jan 2018 23:02:42 +0000

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.
Received on Mon Jan 22 2018 - 17:03:02 CST

This archive was generated by hypermail 2.2.0 : Mon Jan 22 2018 - 17:03:03 CST