how to get rid of a character, 0x80?

Bertram Scharpf lists at bertram-scharpf.de
Tue Sep 8 12:06:58 UTC 2009


Hi,

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

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

> besides.. 0x80!=0200

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

Bertram


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


More information about the freebsd-questions mailing list