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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,29495b0e9519b616 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-13 17:55:21 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.algonet.se!algonet!news-stob.telia.net!telia.net!217.209.241.173.MISMATCH!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Persson Newsgroups: comp.lang.ada Subject: Re: Latin_1 and portability Message-ID: <20031214025520.66b12979.bjorn_persson.spam-is-evil@sverige.nu> References: <20031213155408.356b7ec3.bjorn_persson.spam-is-evil@sverige.nu> X-Newsreader: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sun, 14 Dec 2003 01:55:21 GMT NNTP-Posting-Host: 217.209.116.179 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1071366921 217.209.116.179 (Sun, 14 Dec 2003 02:55:21 CET) NNTP-Posting-Date: Sun, 14 Dec 2003 02:55:21 CET Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:3455 Date: 2003-12-14T01:55:21+00:00 List-Id: On 13 Dec 2003 16:17:06 -0600 Kilgallen@SpamCop.net (Larry Kilgallen) wrote: > I have not heard of any troubles on such conversion, but the FTP > conversion would obviously only be used when the source system > indicated whether a file is text or not. FTP clients typically let the user select ASCII mode or image mode manually. If you want conversion you have to remember to switch to ASCII mode before you transfer a text file, and then switch back to image mode before you transfer a non-text file. People will inevitably forget this now and then, and get either an unconverted text file or a corrupt non-text file. There is a reason why the Portable Network Graphics format's "magic signature" incudes both a CR/LF pair and a single LF. It was designed to provide for easy detection of this kind of file corruption. It's very clever - and should never have been necessary. RFC 959 actually specifies that ASCII mode is the default, but luckily clients that automatically set image mode seem to be common. Bj=F6rn Persson