On Mon, Oct 19, 2009 at 7:32 AM, Dan Cech <dc...@phpwerx.net> wrote:
> Try:
>
> $text = @iconv('UTF-8','UTF-8//TRANSLIT',$text);

Thanks Dan,

I knew there had to be something simple.

It looks like mb_convert_encoding($txt,'UTF-8','UTF-8') will work
similarly, but just deletes the offending bytes.

Regards,
John Campbell
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to