Message38134
Logged In: YES
user_id=21627
You are right, the code should use iswprint instead.
The point is that multiple subsequent bytes can make up a
single printable character. Not every character above 127 is
necessarily printable (e.g. in Latin-1, only characters
above 160 are printable). Likewise, a single byte may not be
printable, but a combination will print fine. So this code
is supposed to catch only those cases where printing will
actually work. |
|
Date |
User |
Action |
Args |
2007-08-23 15:08:56 | admin | link | issue479898 messages |
2007-08-23 15:08:56 | admin | create | |
|