-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

>> -----Original Message-----
>> From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED] 
>> (iconv is used already in a number of components -- XmlRpc, 
>> Lucene, Mime, and likely some others.)
> 
> Also I found iconv used in Zend_Pdf, and a few of the web services.  So
> yes, it is certainly fair to use it.
> 
> We now have an appendix in the manual that lists ZF components that use
> each respective PHP extension (the the best of my ability to discover
> this information).  Also thanks to Thomas for creating the reverse
> table, PHP extensions used by each respective ZF component.
> 
> Bill Karwin
> 

Hmm JIRA is still down, so I could not look into the open issue regards
to this discussion.

You are talking about using getting string length by iconv or mb_string
instead of using strlen() because it can't handle chinese (multibyte)
characters. Both extensions are optional so why we can't check for
loaded extension and decide what to use?

Default:             strlen
iconv loaded:        iconv_strlen
mb_string loaded:    mb_strlen
Both ext loaded:     Don't know if there are any advantages or
                     disadvantages on any extension (iconv/mb_string)

- -- Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFG7O1fd3s9o1H9MZ4RA48KAJ0csidhYmfVEKjBWkvDT6NGuvXYlgCbBpUU
+pkuBK6Xin4GVMaHK/4wO5Q=
=gOIZ
-----END PGP SIGNATURE-----

Reply via email to