I think what you want is something like transliteration using for example iconv
lib, like in PHP:
$new_text = iconv("utf-8", "ascii//translit", $text);
Something like this I think...
--
Diogo Resende
On Monday, January 14, 2013 at 10:04 , Danilo Luiz Rheinheimer Danilo wrote:
> Hi,
>
> Someone is aware os a funcion to remove diacritics (accebts) from words on
> node.js string. In fact what I want is to replace the char with the diacritic
> with his version without the diacritic.
>
> If I have a string like :
>
> Imóvel
>
> I want the funcion result to be :
>
> Imovel
>
>
> Danilo.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected]
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en