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 X-Google-Thread: 103376,2afae4a128914036 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!nnx.oleane.net!oleane!freenix!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: wide_string and assertions Date: Fri, 04 Jun 2004 10:49:14 +0200 Organization: AdaCL Message-ID: <10655749.mMTZvQWthZ@linux1.krischik.com> References: <47SdnXI-D-3icyLdRVn-uQ@megapath.net> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: news.t-online.com 1086339092 04 18622 E7u9G0fvpr93NSH 040604 08:51:32 X-Complaints-To: usenet-abuse@t-online.de X-ID: biwox8ZaretdzUoN4vF4gLmJBfEzl7G1r1jpEQh7JOSs-4mT7RXh6X User-Agent: KNode/0.7.7 Xref: g2news1.google.com comp.lang.ada:1090 Date: 2004-06-04T10:49:14+02:00 List-Id: Randy Brukardt wrote: > raise�Assert_Error�with�To_UTF_8�("Wide_Wide_String"); > so that might be preferable for this purpose. (But you'll probably have to > write the function yourself; there doesn't seem to be much support for > including such functions in the Standard.) XML/Ada has support for UTF-8. XML/Ada can encode UTF-16 and UTF-32 as well. All UTF formats are encoded it byte sequences aka in Strings and can therefore be raised in exceptions. If you need Wide_String support - I have some (not yet released) extensions to XML/Ada for Wide_String support as well. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com