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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c4b8fdfa762b2bb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-05 20:22:52 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!logbridge.uoregon.edu!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!dvdeug From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Newsgroups: comp.lang.ada Subject: Re: Hebrew language character set Date: 5 Apr 2001 03:03:39 GMT Organization: Oklahoma State University Message-ID: <9agnab$8q82@news.cis.okstate.edu> References: <3ACA11B0.9AAFDDDD@lmco.com> <3ACB85DF.9E6DBD03@lmco.com> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e531b.dhcp.okstate.edu User-Agent: slrn/0.9.6.3 (Linux) Xref: supernews.google.com comp.lang.ada:6546 Date: 2001-04-05T03:03:39+00:00 List-Id: On Wed, 04 Apr 2001 13:36:47 -0800, Paul Storm wrote: >For those that are interested, I produce code that (I think) produces >a Hebrew character. Here is the code: > >with Ada.Characters.Handling; use Ada.Characters.Handling; >with Ada.Wide_Text_IO; use Ada.Wide_Text_IO; > >procedure aleph is >begin > Ada.Wide_Text_IO.Put (Item => Wide_Character'Val(1488)); >end aleph; > >end of code > >Here is the output. > >["05D0"] > >end of output > >1448 decimal is 05D0 hexidecimal. > >I said think produces. I am thinking that my display showed the >character as a code due to the lack of support for that character >(set) on my system. Can anyone confirm this for me? Does that make >sense? Nope. It looks like your Ada system uses a ["abcd"] encoding by default, since it has no way to know what the correct encoding should be. If you're using GNAT, the GNAT RM has a section about wide text IO and changing it to output in different encodings. If you have a recent version (>4.0) of XFree86, you can run xterm -u8 which will properly understand UTF-8; otherwise, there's probably no way to get readable Hebrew output. -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I don't care if Bill personally has my name and reads my email and laughs at me. In fact, I'd be rather honored." - Joseph_Greg