lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Re: 8-bit characters in EDITTEXTAREA


From: Leonid Pauzner
Subject: Re: lynx-dev Re: 8-bit characters in EDITTEXTAREA
Date: Thu, 11 Feb 1999 13:29:55 +0300 (MSK)

10-Feb-99 16:41 Kim DeVaughn wrote:
> On Wed, Feb 10, 1999, address@hidden (address@hidden) said:
> |
| >> I suppose I'll just switch to using iscntrl(), as Tom (I think) suggested
| >> awhile back, and trust in the portability of that fn().
> |
> | not all platforms have a working 8-bit ctype, though (recalling that, I
> | left the comparison as you had it).

> Ah yes ... THAT was the reason (I've not had time to review those old
> messages yet).

> OK ... a cast to (unsigned char) is what we'll do.

more appropriate check should reject characters
from 127..(LYlowest_eightbit[current_char_set] - 1) range
since we are working in display charset which may be inconsistent with locale
so iscntrl() may return a wrong result on any platform.

> Thanks for the reminder about iscntrl(), Tom.

> /kim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]