This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
isspace() & i18n
- To: cygwin-developers at cygwin dot com
- Subject: isspace() & i18n
- From: egor duda <deo at logos-m dot ru>
- Date: Wed, 30 May 2001 14:57:56 +0400
- Organization: deo
- Reply-To: egor duda <cygwin-developers at cygwin dot com>
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