Re: Three new Technical Notes posted

From: D. Starner (shalesller@writeme.com)
Date: Fri Jan 23 2004 - 18:47:07 EST

  • Next message: Markus Scherer: "Re: Three new Technical Notes posted - Ada UTF-16"

    > #12 UTF-16 for Processing
    > by Markus Scherer

    This is incorrect in saying that Ada uses UTF-16. It supports
    UCS-2 only. The text of the standard says:

    The predefined type Wide_Character is a character type
    whose values correspond to the 65536 code positions of
    the ISO 10646 Basic Multilingual Plane (BMP). [...] As
    with the other language-defined names for nongraphic characters, the names FFFE and FFFF are usable only with
    the attributes (Wide_)Image and (Wide_)Value; they are
    not usable as enumeration literals. All other values of
    Wide_Character are considered graphic characters, and
    have a corresponding character_literal.

    which doesn't include surrogate code points. The next
    version of Ada will have 32-bit characters to fully
    support Unicode - the text of the proposal is here:

    <http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00285.TXT?rev=1.14>

    plus lengthy discussion on the issues.

    -- 
    ___________________________________________________________
    Sign-up for Ads Free at Mail.com
    http://promo.mail.com/adsfreejump.htm
    


    This archive was generated by hypermail 2.1.5 : Fri Jan 23 2004 - 20:28:06 EST