On 3/5/08 7:25 PM, "John Campbell" <[EMAIL PROTECTED]> wrote:
> 2008/3/5 Cliff Hirsch <[EMAIL PROTECTED]>: >> Is there a downside to using utf-8? > > No, but there are issues with some string functions. In php4/5 > functions like substr() operate on bytes, and may break UTF-8 strings > that contain multibyte characters. I'd search your code for things > like "substr" and "pos", and make sure they are not operating on > userdata in an unsafe way. > > see: > http://www.phpwact.org/php/i18n/utf-8 Doesn't the multibyte string extension overload these functions? _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php