isspace() & i18n

egor duda deo@logos-m.ru
Wed May 30 03:59:00 GMT 2001


Hi!

  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?

egor.            mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19




More information about the Cygwin-developers mailing list