Sender: Theo Markettos
From: Theo Markettos
Subject: Re: what is 100R mean in a schematics?
References: <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com>
User-Agent: tin/1.5.10-20011117 ("Darkcell") (UNIX) (Linux/2.2.22 (i686))
Originator: firstname.lastname@example.org ([188.8.131.52])
Date: 27 Dec 2002 12:36:50 +0000 (GMT)
Organization: [posted via Easynet UK]
In comp.arch.embedded Michel Catudal wrote:
> I had a good laugh when I first tried to compile one of their 6809 C
> program. All the # were replaced with ?, how stupid can someone be!
That's a character set problem. ISO-8859-1 has the pound sterling sign as
0xA3, whilst in 7 bit US-ASCII 0xA3 is #. Most 1980s/early 1990s printers
that have different charset support swap pound sterling for # (0x23) in UK
mode (because the # symbol is very rarely used in British English but pound
sterling is frequently needed on correspondence), so code containing #s
prints as having pounds sterling.
To this day, having the wrong keyboard driver and charset for Linux causes
my UK keyboard to emit a symbol that looks like # but is in fact 0xA3 when
the # key is pressed. Hence lots of head scratching debugging shell
scripts, because the script _looks_ OK, but tries to execute its comments.
The pound sterling key emits an identical-looking symbol, which is 0x23 and
PS To be even more confusing, isn't # referred to as 'pound' in the US? In
the UK it's 'hash' or 'square' (the latter I've only heard in the form 'to
speak to an operator, press the square key', presumably because some people
don't know what a hash is).
Theo Markettos email@example.com
Liphook, Hampshire, UK firstname.lastname@example.org