Re: First idea for I18N_Punycode (was: PEAR Account Request: dr)
| From: | Jan Schneider | Date: | Mon, 10 May 2004 08:11:31 +0000 |
| Subject: | Re: First idea for I18N_Punycode (was: PEAR Account Request: dr) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29053@lists.php.net to get a copy of this message | ||
Zitat von Stefan Neufeind <stefan@neufeind.net>:
After doing all the commenting, adding extensive tests etc. I tried wrapping up an installable package. To be honest: It took me a while. And currently it's only working with the mbstring-extension (no libiconv yet). Libiconv has problems e.g. converting ISO-8859-1 into UCS-4 ... haven't yet figured out why :-((Some iconv() implementations have a bug and only allow conversions of strings that have a 7bit character as the last char. To workaround that bug, attach a 7bit char to the string, convert it, and strip it from the end. Make sure that you use the correct character width when stripping the char. ;-) Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/