Henry Spencer <[EMAIL PROTECTED]>: > A conforming implementation of a function like my g(x), or the UTF-8 > encoding, includes the range check by definition.
Which definition? Are you sure validation is compulsory? Also, since there's no point in checking for error conditions that you don't know how to handle, I hope you have a clear idea of what to do with these "illegal" high characters in various circumstances, because I don't. Are you perhaps one of those people who thought it was a good idea for an MTA to AND incoming message bodies with 0x7f because the standard didn't officially allow non-us-ascii data, so by ANDing the data with 0x7f you make it more standard-compliant and who cares if you make the message completely useless to the recipient in the process? -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
