How to handle (® ´ © ¿ ¡ ° À ) special characters in javascript?

Posted by raja on Stack Overflow See other posts from Stack Overflow or by raja
Published on 2010-06-09T09:18:14Z Indexed on 2010/06/09 9:22 UTC
Read the original article Hit count: 102

Filed under:

Hi: I need to to develop a javascript function to not allow special character (® ´ © ¿ ¡ ° À ) from the string. The problem is IE8 not recognize the special characters in the string and returning as -1 when using indexOf() method. What is the correct way to handle these special characters?

© Stack Overflow or respective owner

Related posts about JavaScript