trying to catch the triple '\0342', '\0200', '\0220' but cannot.
Gary Kline
kline at thought.org
Sat Nov 22 16:02:37 PST 2008
On Sat, Nov 22, 2008 at 06:20:58PM -0500, Robert Huff wrote:
>
> Gary Kline writes:
>
> > can somebody help me catch the OOo "'" (aposhtrophe)? It's a triplet
> > of the hex chars, xe2, x80, x90, which should be seeable by getchar()
> > [[or *not*?]]. The octal are 0342, 0200, and 0220.
> >
> > The first is, is a-circumflex. Why doesn't
> >
> > if ((ch1 = getchar()) == '\0342') or, more simply,
> > if ((ch1 = getchar()) == '\342')
> > catch the first? Is getchar limited to only 7 bytes??
>
> Perhaps you want getwc()?
Are all these really 16-bit characters? I'll try getwc, tx.
>
>
> Robert Huff
>
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
More information about the freebsd-questions
mailing list