|
From: | Thomas Dickey |
Subject: | Re: ncurses-5.7-20090530.patch.gz |
Date: | Wed, 3 Jun 2009 10:01:48 -0400 (EDT) |
On Wed, 3 Jun 2009, Clemens Ladisch wrote:
|| (sp->_legacy_coding == 0 && (isprint(check) || iswprint(check))))))But here is still a bug: iswprint() must not be called for single-byte characters because that function assumes its parameter is a wide character, and wide characters are Unicode, which is the same as ISO 8859-1 for 8-bit values. This gives wrong values for locales with any other encoding.
thanks (I'll have to modify that part, then). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |