[ Please, but your question in the body of the post ]
Vladish wrote:
Subject: Re: How to remove diacritic of a string
...in the easiest possible way. Do you have any idea? Any function or
regexp?
Do you want "João Graça" -- my brother's name :) --
transformed into "Joao Graca"?
hmmmm ...
strtr()
<?php
$in = 'João Graça';
$with = 'áàãéèêíìîóç'; ## . other characters,
$wout = 'aaaeeeiiioc'; ## . uppercase, etc.
$out = strtr($in, $with, $wout);
?>
but you'll have all sorts of problems with different charsets.
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--