Re: [PHP] replace striing éèêà

2005-06-06 Thread Jochem Maas
John Taylor-Johnston wrote: Can someone show me how to get rid of international characters in $string? Is there a function already made? the acute/grave accents on the chars are called 'diacritics' You cannot use accented characters in a name reference : a name=montréal. I guess this below

[PHP] replace striing éèêà

2005-06-05 Thread John Taylor-Johnston
Can someone show me how to get rid of international characters in $string? Is there a function already made? You cannot use accented characters in a name reference : a name=montréal. I guess this below is a start. Is there a better way? John http://ca.php.net/manual/en/function.str-replace.php

Re: [PHP] replace striing éèêà

2005-06-05 Thread Chris
Look into strtr() http://www.php.net/strtr It seems to be precisely what you want. John Taylor-Johnston wrote: Can someone show me how to get rid of international characters in $string? Is there a function already made? You cannot use accented characters in a name reference : a