[PEPr] Comment on Internationalization::I18N_Unicode
| From: | PEPr | Date: | Tue, 03 Aug 2004 14:18:01 +0000 |
| Subject: | [PEPr] Comment on Internationalization::I18N_Unicode | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-32392@lists.php.net to get a copy of this message | ||
Matthias Sommerfeld (http://pear.php.net/user/mso) has commented on the proposal for
Internationalization::I18N_Unicode.
Comment:
John,
looks nice so far, but I noticed a pitfall in your handling of UTF-8. You assume, the maximum length
is 3 bytes and your methods are not aware of denying to process wider chars.
You should either include support for wider chars or at least deny the processing of unsupportedly
wide ones.
An example of handling the mentioned wider char could be found in the Net_IDNA proposal here on this
site.
Regards
Matthias
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=131
--
Sent by PEPr, the automatic proposal system at http://pear.php.net