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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!2001:888:0:311::2f.MISMATCH!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Newsgroups: comp.lang.ada X-Mozilla-News-Host: news://comp.lang.ada:119 From: L Dries Subject: I need to show extended Ascii codes in GtkAda environment Date: Fri, 22 Nov 2019 14:09:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl Content-Transfer-Encoding: 7bit Message-ID: <5dd7de1b$0$1694$e4fe514c@news.kpn.nl> NNTP-Posting-Host: eaff6df1.news.kpn.nl X-Trace: G=TpJQc0AJ,C=U2FsdGVkX18oJzvUyo0KjJn09g/C8qmBh5c7Rbuj40rhSxqpDkzFOraj0vi/1hDKw2fVaOnc1yVtx+f6dUXY5j+LQ8RYEhwo4jo9gxj2Cpw= X-Complaints-To: abuse@kpn.nl Xref: reader01.eternal-september.org comp.lang.ada:57586 Date: 2019-11-22T14:09:47+01:00 List-Id: In a GtkAda environment I have the need to present some characters or strings with characters in the Extended character Ascii range for instance O with slash (216). I create a constant character with Slash_null : constant string(1 .. 1) := "" & character'Val(216); and use it in some other part, symbols : array (1 .. Max_Num, 1 .. 3) of string(1 .. 1) := (("1", "A", "0"), ..., ("9", "I", "0"), (Slash_null, "J", "0"), ("A", "K", "0"), ..., etc. The GPS program excepts these statements but in the output on the screen not only in a GtkAda window but alse in the list with a coming with a combo box it is presented as a rectangle with a cross inside. I can give another number in the "character'Val(216)" part but the result stays the same. I suppose the problem is within GtkAda but I am not sure abot this. I am using the highest level of Ada (2012). How do I solve this problem? -- L. Dries