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: border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.metronet.hr!news1.t-com.hr!newsVIP.hr!not-for-mail From: Gour Newsgroups: comp.lang.ada Subject: Re: Ada & Unicode support Date: Sun, 21 Sep 2014 08:34:38 +0200 Organization: VIP-NET Message-ID: <20140921083438.559d2c3f@atmarama.ddns.net> References: <20140920233647.06c82dde@atmarama.ddns.net> <871tr5x1wf.fsf@ludovic-brenta.org> NNTP-Posting-Host: 109.227.45.155 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sopnews1.vipnet.hr 1411281278 28104 109.227.45.155 (21 Sep 2014 06:34:38 GMT) X-Complaints-To: abuse@vip.hr NNTP-Posting-Date: Sun, 21 Sep 2014 06:34:38 +0000 (UTC) X-Newsreader: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Xref: number.nntp.dca.giganews.com comp.lang.ada:189063 Date: 2014-09-21T08:34:38+02:00 List-Id: On Sun, 21 Sep 2014 02:17:36 +0200 Ludovic Brenta wrote: > You need to distinguish between the character set and encoding of the > Ada text (which you give to the compiler) and the character set(s) and > encoding(s) that your program must support. Right. > For example, GNAT supports several encodings, including UTF-8 with > command-line options. OK, that's enough and glad to hear it. >The String Encoding package is there to help you transcode text between >8-bit Latin_1, UTF-8, proper UTF-16 and UTF-32. Ahh, that was the missing link. Thank you. > GTK+ and GtkAda treat all strings as UTF-8. If your program uses > GtkAda, then don't bother transcoding anything and specify that all > Strings really contain UTF-8. That's just what we wanted to hear. UTF-8 everywhere and less complications. :-) > HTH Yes, thanks again. Sincerely, Gour -- In the material world, one who is unaffected by whatever good or evil he may obtain, neither praising it nor despising it, is firmly fixed in perfect knowledge.