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!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!API-DIGITAL.COM-a2kHrUvQQWlmc!not-for-mail Date: Mon, 11 Sep 2006 19:06:03 -0500 From: "Marc A. Criley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Avatox 1.1: Trouble with encoding in Windows References: <45051d37@news.upm.es> <45053aec$0$5142$9b4e6d93@newsspool1.arcor-online.net> <4505696b@news.upm.es> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <12e86$4505f9ec$41f0a638$6342@API-DIGITAL.COM> X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: 12e864505f9ece455039d06342 Xref: g2news2.google.com comp.lang.ada:6560 Date: 2006-09-11T19:06:03-05:00 List-Id: Björn Persson wrote: > Manuel Collado wrote: > >> My suggestion is that the Avatox encoding issue can be solved by >> simply writing non-ASCII characters as XML character references just >> when the final XML output is generated. > > > It would be much easier to just put the right encoding in the XML > declaration. In your case: > > > Then the rest of the file could be exactly as it is now, and Avatox > wouldn't have to scan each and every identifier for non-ASCII characters. Alright! Alright! Y'all SHAMED me into it!! :-) :-) :-) I've been putting off dealing with character encoding for as long as I could, but it's time I finally got into it and did things right. Gimme a little time and I'll get an encoding-friendly version of Avatox out as soon as I can--day job and other responsibilities permitting. Thanks for the beating, I will now became a better person because of it :-) (Manuel, if you'd be so kind as to send me a standalone compilable example of Ada code that uses an alternate character set that I could use as an Avatox test case, I would be most grateful.) -- Marc A. Criley -- McKae Technologies -- www.mckae.com -- DTraq - Avatox - XIA - XML EZ Out