From: "Rafal 'Raf256' Maj" Newsgroups: comp.os.msdos.djgpp Subject: Re: strange character in the source code Date: 14 Nov 2002 02:51:47 GMT Organization: news.onet.pl Lines: 23 Sender: raf256 AT poczta DOT onet DOT pl@rafal.joint.eu.org Message-ID: References: <20021114015554 DOT 61684 DOT qmail AT web20701 DOT mail DOT yahoo DOT com> NNTP-Posting-Host: rafal.joint.eu.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Trace: news.onet.pl 1037242307 20347 62.233.182.161 (14 Nov 2002 02:51:47 GMT) X-Complaints-To: abuse AT onet DOT pl NNTP-Posting-Date: 14 Nov 2002 02:51:47 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tony Zhou wrote in news:20021114015554 DOT 61684 DOT qmail AT web20701 DOT mail DOT yahoo DOT com > I copy source code from mail, the email software add a > strange code in the C source code(add 0xa0 before the > SPACE character). Probably it's problem with \r\n Vs \n new-lines... send this source to me (ZIPped) and I will try to fix it, btw. writing program taht will copy file i.e. byte-by-byte and skip 0xa0 characters is tryvial... fstream in,out // ios::in|ios::binary and ios:out|binary while (in) { unsigned char ch; in>>ch; if (ch!=0xa0) out<