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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: backlog1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.unit0.net!feeder.erje.net!eu.feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: strange behaviour of utf-8 files Date: Sun, 17 Nov 2013 15:07:18 +0100 Organization: cbb software GmbH Message-ID: References: <73e0853b-454a-467f-9dc7-84ca5b9c29b2@googlegroups.com> <1ghx537y5gbfq.17oazom68d4n6.dlg@40tude.net> <9d00683c-949c-4e88-a161-ebd78b350d39@googlegroups.com> <1w23uq33ul2i8$.wzjpp3evot36.dlg@40tude.net> <5288c584$0$6639$9b4e6d93@newsspool2.arcor-online.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: Ws8cDh6KC0dYMbHlsA0RIw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-5" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:183911 Date: 2013-11-17T15:07:18+01:00 List-Id: On Sun, 17 Nov 2013 14:32:55 +0100, Georg Bauhaus wrote: > On 16.11.13 16:55, Dmitry A. Kazakov wrote: >> As I said in order to avoid troubles, don't use anything but ASCII. > > ASCII-ism is the soil in which dangerous bugs keep many things > from working.(*) On the contrary, it is a reasonable precaution against sloppy OSes (Linux, Windows) incapable to handle encoding safely [*]. The OP just ran into that. If he followed the advise he would never have any problems of this kind. Using full Unicode in source files is a recipe for bugs intractable for many program readers, like ones who would not guess 'a' and 'Ð' different letters. ------- * Preventing a file encoded as X, being read and written as if it were encoded as Y. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de