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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,1086bab45b40d4b0 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-stoc.telia.net!217.209.241.210.MISMATCH!news-stod.telia.net!telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: sv, en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: UTF-8 in strings - a bug? References: <200456-112553-85684@foorum.com> <2178612.8V5KANFFf5@linux1.krischik.com> In-Reply-To: <2178612.8V5KANFFf5@linux1.krischik.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Message-ID: Date: Fri, 07 May 2004 23:32:38 GMT NNTP-Posting-Host: 217.209.116.179 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1083972758 217.209.116.179 (Sat, 08 May 2004 01:32:38 CEST) NNTP-Posting-Date: Sat, 08 May 2004 01:32:38 CEST Organization: Telia Internet Xref: controlnews3.google.com comp.lang.ada:382 Date: 2004-05-07T23:32:38+00:00 List-Id: Martin Krischik wrote: > XMLAda comes with a Unicode library which can do some transcoding. Well, I suppose the existence of that library is a good thing, but after = reading the introduction in unicode.ads I have to wonder whether it's=20 them or me who have misunderstood Unicode. It mentions "Utf32 Latin1"=20 and "Utf8 Latin2" strings. This looks really weird to me. You don't=20 encode Latin-1 in UTF-32 or Latin-2 in UTF-8. You encode Unicode in=20 UTF-8 or UTF-32, or you encode a subset of Unicode in Latin-1, or=20 another subset in Latin-2. --=20 Bj=F6rn Persson jor ers @sv ge. b n_p son eri nu