From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,UTF8 X-Google-Thread: 103376,cd571eec0e67817a X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: wide character Date: 1999/10/31 Message-ID: <7vhjh7$9gl$1@nnrp1.deja.com>#1/1 X-Deja-AN: 542688103 References: <3819EA39.60B85317@eunet.at> <87puxxvzeb.fsf@deneb.cygnus.argh.org> X-Http-Proxy: 1.0 x40.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sun Oct 31 14:25:44 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-10-31T00:00:00+00:00 List-Id: In article <87puxxvzeb.fsf@deneb.cygnus.argh.org>, Florian Weimer wrote: > Bernhard Rumpler writes: > > > how can I get a wide character for an 'and-sign' (ISO 10646: > > 22c0)? > > (i need to assign it to a string afterwards) > > Big_Wedge : constant Wide_Character := '⠠'; > > If your development system doesn't suppport Unicode, you'll have to > use something like this instead: > > Big_Wedge : constant Wide_Character := Wide_Character'Val (16#22C0#); All Ada systems must support the use of character literals for all wide character values, including this one. However, it is implementation dependent what the representation of such character values is (this is not surprising, ALL representation issues in Ada source programs are implementation dependent, the standard has nothing to say about the representation of source programs). So you have to check your implementation. GNAT provides half a dozen different encoding schemes (see GNAT users's guide) Sent via Deja.com http://www.deja.com/ Before you buy.