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-Thread: 103376,a82f86f344c98f79 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!inet.fi!feeder1.news.jippii.net!newsfeed.bahnhof.se!newsfeed101.telia.com!nf02.dk.telia.net!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?UTF-8?B?QmrDtnJuIFBlcnNzb24=?= User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Avatox 1.0: Trouble with encoding in Windows References: <45051d37@news.upm.es> <45053aec$0$5142$9b4e6d93@newsspool1.arcor-online.net> <5ZednRK-0M3K15rYnZ2dnUVZ_o2dnZ2d@megapath.net> <4507e49f$0$26945$9b4e6d93@newsspool4.arcor-online.net> <1158215676.19219.32.camel@localhost> In-Reply-To: <1158215676.19219.32.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Date: Thu, 14 Sep 2006 23:09:59 GMT NNTP-Posting-Host: 83.250.106.238 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1158275399 83.250.106.238 (Fri, 15 Sep 2006 01:09:59 CEST) NNTP-Posting-Date: Fri, 15 Sep 2006 01:09:59 CEST Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:6587 Date: 2006-09-14T23:09:59+00:00 List-Id: Georg Bauhaus wrote: > Or use Strings that carry their encoding with them ;-) Wow, that sounds like a great idea! ;-) Seriously though, there's not much EAstrings can do if you don't know the character encoding of your source code. You have to input the right encoding, in one way or another, when you first construct an EAstring. It *would* be possible to work around a defective compiler that consistently produces mis-encoded Strings, but you still have to know the true encoding (and you'd be in for a surprise if the compiler suddenly gets fixed). -- Björn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu