Does anyone know of a library or function that takes as input some text, and converts all special characters (accented characters, umlauts, etc) into the ISO entities (the HTML characters that start with &
?
Or, alternatively, how do I reference unicode characters in javascript? For instance, if i wanted to do:
if ( 'é' == unicode representaion of é )
{
}
i've read that it is \uXXXX, but that doesn't seem to work.. any ideas!?
Thanks,
Allan
Or, alternatively, how do I reference unicode characters in javascript? For instance, if i wanted to do:
if ( 'é' == unicode representaion of é )
{
}
i've read that it is \uXXXX, but that doesn't seem to work.. any ideas!?
Thanks,
Allan