Message38134
| Author |
loewis |
| Recipients |
| Date |
2001年12月06日.15:12:07 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:08:56 | admin | link | issue479898 messages |
| 2007年08月23日 15:08:56 | admin | create |
|