Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2009 21:52:05 -0700
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   how to get rid of a character, 0x80?
Message-ID:  <20090908045202.GA16556@thought.org>

next in thread | raw e-mail | index | archive | help

	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@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




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