Hi there guys! I am triying to implement support for special chars to the jQuery autocomplete plugin: http://www.dyve.net/jquery/?autocomplete
I mean, if you have: “Adrián Mato Gondelle” for example, display it if you type: “Adrian”....
Anyone can help me please?
- Envato Staff
- Has been a member for 4-5 years
- Attended a Community Meetup
- Australia
- Beta Tester
- Contributed a Blog Post
- Contributed a Tutorial to a Tuts+ Site
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
So it looks like the plugin looks at a defined list of “options”, which I’m assuming is where you put “Adrian Mato Gondelle”. I would think you just need to encode the accented á
To do that http://tlt.its.psu.edu/suggestions/international/web/codehtml.html#accent has the html encoding info. Hope this helps! 
You need to do some kind of transliteration, both on the suggestion list and on the user input.
I have no idea how to do this with javascript (basically just characters replacements), but once ported a function that does this from phputf8 to the Kohana PHP framework: http://dev.kohanaphp.com/browser/tags/2.3.1/system/core/utf8/transliterate_to_ascii.php
Hope this helps, at least you know what you could search for with Google. 
Thank you guys! I will research a little more. thanks!
