isspace() & i18n

Christopher Faylor
Wed May 30 06:52:00 GMT 2001

On Wed, May 30, 2001 at 02:57:56PM +0400, egor duda wrote:
>  cygwin calls newlib's isspace() passing it a signed char. this works
>ok for ascii symbols 0x00-0x7f, but fails with, say, cyrillic symbols
> with codes > 0x80. As a result `cd dir-with-last-cyrillic-letter'
>fails as chdir strips last symbols, thinking they're spaces --
>isspace() is called with negative parameter.
>Any thoughts as of how we should handle this?

Maybe we just need a cygwin_isspace which checks for just tabs and spaces?


More information about the Cygwin-developers mailing list