Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2009 14:06:54 +0200
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to get rid of a character, 0x80?
Message-ID:  <20090908120654.GB18404@marge.bs.l>
In-Reply-To: <4AA5F2FB.8080006@mapper.nl>
References:  <20090908045202.GA16556@thought.org> <4AA5F2FB.8080006@mapper.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Am Dienstag, 08. Sep 2009, 08:00:27 +0200 schrieb Mark Stapper:
> Gary Kline wrote:
> > 	anybody know why getchar() doesn't see 0x80 =3D=3D 0200?
>=20
> Presumably, you want to read a capital C with cedille? (0x80 128 =C7)

"\x80" is a nonbreakable space in iso8859-1/-15.
(And a Euro sign in Windows-1252). Who uses cp437/cp850 on BSD?

> besides.. 0x80!=3D0200

  $ ruby -e 'puts 0x80, 0200'
  128
  128

Bertram


--=20
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090908120654.GB18404>