delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/14/07:30:10

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strange character in the source code
Date: 14 Nov 2002 12:26:11 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <ar04p3$pu6$1@nets3.rz.RWTH-Aachen.DE>
References: <20021114015554 DOT 61684 DOT qmail AT web20701 DOT mail DOT yahoo DOT com> <Xns92C6269F88B8Araf256com AT 213 DOT 180 DOT 128 DOT 20>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1037276771 26566 137.226.32.75 (14 Nov 2002 12:26:11 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 14 Nov 2002 12:26:11 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rafal 'Raf256' Maj <rafal AT raf256 DOT com> wrote:
> Tony Zhou <johnerzhou AT yahoo DOT com> 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... 

It quite certainly isn't.  0xa0 has nothing to do with newlines.  Note
that 0xa0 is the same as SPACE, but with the 8th bit set to 1 (0x20 |
0x80 = 0xa0).  I guess your email client must be trying to "protect"
those spaces for some silly reason.

My suggestion would be to use a less silly email client, or a
different editor to paste the code into.  Or both.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019