[LC++]cut-and-paste of code problems (character 0240)

Dr Mark H Phillips mark at austrics.com.au
Tue Sep 3 12:11:06 UTC 2002


On Mon, 2002-09-02 at 19:06, Vincent Penquerc'h wrote:
> > >From a search on google, it seems that character 0240 is
> > a "non-breaking space in ISO 8859-1".  It seems that my mail
> > reader (evolution) introduced these.  I can get around
> 
> Not the right solution, but you can always add something to
> your Makefile that looks like:
> 
> %.o: %.cc
> 	sed -e s/\0240/ /g $< > /tmp/foo
> 	gcc /tmp.foo
> 
> Obviously flawed in execution, flaky in concept, but .... :)

Yes, a hack which might work, but not an ideal solution.

It seems to me that the fundamental problem is that the 
Evolution mail reader converts ascii text into ISO-8859-1.

Evolution does have the ability to change
"view -> character encoding", but the choices don't include
ascii.  They do include UNICODE UTF-7, which I thought might
work, but when I selected that, the problem of 0240 characters
still remained.

I don't really understand the differences between the various
encodings, except that some seem to cater for languages other
than English.

I'm still thinking there must be a way of getting Evolution
to display in simple ascii, but I haven't found it yet.

Cheers,

Mark.

-- 
Dr Mark H Phillips
Research Analyst (Mathematician)

AUSTRICS - smarter scheduling solutions - www.austrics.com

Level 2, 50 Pirie Street, Adelaide SA 5000, Australia
Phone +61 8 8226 9850
Fax   +61 8 8231 4821
Email mark at austrics.com.au





More information about the tuxCPProgramming mailing list