how to get rid of a character, 0x80?

Gary Kline kline at thought.org
Tue Sep 8 04:52:10 UTC 2009


	anybody know why getchar() doesn't see 0x80 == 0200?  if getchar()
	is limited to 7-bit characters, what then?

	% od -c file 

	shows me that every character fits into 8 bits, so getwchar() is the next thing.
	but doesn't getwchar grab wide-chars only: 16 bits?

	tia, guys,

	gary



-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 5.67a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list