TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To:
Team Ada <[log in to unmask]>
Date:
Sun, 20 Jun 2004 19:25:09 +0200
Reply-To:
Jacob Sparre Andersen <[log in to unmask]>
Subject:
From:
Jacob Sparre Andersen <[log in to unmask]>
Content-Transfer-Encoding:
8BIT
In-Reply-To:
Content-Type:
TEXT/PLAIN; charset=ISO-8859-1
MIME-Version:
1.0
Parts/Attachments:
TEXT/PLAIN (23 lines)
Rick Duley wrote:

> Ada.Characters.Latin_1 doesn't have a EURO_SYMBOL.
> Suggestions please ;)

You could use a character encoding that includes the euro
sign.  ISO-8895-15 is AFAIK still the official character
encoding for the euro zone.  Another option is UTF-8
(variable length encoding of ISO-10646) or BMP (16 bit
subset of ISO-10646 - used for Wide_Character).

The most popular choice seems to be UTF-8 [1].

Jacob

[1] I dislike the use of UTF-8, since ASCII is a pure subset
    encoding, and many programmers seem to forget to test if
    their UTF-8 implementations actually work for more than
    just plain ASCII. <down from soap-box>
--
»And what about homo sapiens?
 Yes, we think that would be a very good idea ...« -- not Gandhi

ATOM RSS1 RSS2