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!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!news.hacking.dk!pnx.dk!munin.nbi.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: UTF-8 in strings - a bug? Date: 08 May 2004 09:44:27 +0200 Organization: Munin Sender: sparre@sparre.crs4.it Message-ID: References: <200456-112553-85684@foorum.com> <2178612.8V5KANFFf5@linux1.krischik.com> NNTP-Posting-Host: 80.241.165.40 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: munin.grove.home 1084002268 4832 80.241.165.40 (8 May 2004 07:44:28 GMT) X-Complaints-To: sparre@munin.nbi.dk NNTP-Posting-Date: Sat, 8 May 2004 07:44:28 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: controlnews3.google.com comp.lang.ada:383 Date: 2004-05-08T09:44:27+02:00 List-Id: Bj�rn Persson wrote: > 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 them or me who have misunderstood Unicode. It mentions > "Utf32 Latin1" and "Utf8 Latin2" strings. This looks really weird to > me. You don't encode Latin-1 in UTF-32 or Latin-2 in UTF-8. You > encode Unicode in UTF-8 or UTF-32, or you encode a subset of Unicode > in Latin-1, or another subset in Latin-2. Your quotes (which may be unfair :-) look like it isn't you who has misunderstood the subject of character encodings. Jacob -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.