How to search a string ignoring accent characters (e.g. ã = a) [duplicate]
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Programatic Accent Reduction in JavaScript (aka text normalization or unaccenting) I'm trying to find a string ignoring accent, so in my example if I search for avião or aviao I get both result always. here's a start up... <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="http://jquery.com/src/jquery-latest.js"></script> <script type="text/javascript"> $(function () { $(