While playing with locales, I noticed that isprint() returns
zero for arguments > 127, when under utf-8 locale.
>From my naive point of view, I would expect isprint()
to return nonzero for utf-8 locale, since this would allow
older non-multibyte aware programs using isprint() just to
pass utf-8 characters to output, which at least has a chance
of working, instead of not displaying them at all.
Comments?

P.S. glibc 2.2.4


-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to