Re: About IDNA and similar issues...
| From: | Matthias Sommerfeld | Date: | Wed, 11 Aug 2004 12:54:33 +0000 |
| Subject: | Re: About IDNA and similar issues... | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32546@lists.php.net to get a copy of this message | ||
Dear David, dear Stefan,
as mentioned in my last post, I did some changes to Net_IDNA. A summary follows:
- Fixed the CS issues discussed in the mailing list
- Added support for UCS-4 in string and array represenation as input
formats for encode() and output formats for decode().
- Dropped now useless parameter 'use_utf8'.
- Added parameter 'encoding' with possible values 'utf8', 'ucs4_string'
and 'ucs4_array' for supporting the new formats. This is a global
setting.
- Added a second parameter to encode() and decode(), where the above
values can be set. This parameter affects the current conversion
process only.
- Fixed a few bugs in the algorithms, which sometimes lead to strange
results, especially with Japanese Unciode codepoints.
Besides that, we have made the PHP4 version available via CVS. It supports both its original API for maximum backwards compatibility and the Net_IDNA API.
Now it's time to talk about possible extensions to the classes for using different encodings or optionally installed PHP IDN extensions.
Regards,
Matthias