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,ASCII Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.belwue.de!news1.tnib.de!feed.news.tnib.de!news.tnib.de!geiz-ist-geil.priv.at!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-ID: <1329609.zEkZECdoOa@linux1.krischik.com> From: Martin Krischik Subject: Re: Avatox 1.0: Trouble with encoding in Windows Newsgroups: comp.lang.ada Date: Sat, 16 Sep 2006 09:40:49 +0200 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> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.74.130.70 (84.74.130.70) NNTP-Posting-Date: Sat, 16 Sep 2006 10:15:04 +0200 X-Trace: b82c1450bb288f1ef27e310969 Xref: g2news2.google.com comp.lang.ada:6609 Date: 2006-09-16T09:40:49+02:00 List-Id: Bj�rn Persson wrote: > Theoretically it's better to store the encoding outside the file so that > you can know what encoding to use before you start reading the file. > In practice this is usually impossible. Actually it is possible. The technique employed is called "extended attributes" and is available for all modern operating systems. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com