208 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 10 000 and 50 000 dollars
AdrianMG says

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?

2016 posts Review Manager
  • Envato Staff
  • Has been a member for 5-6 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
+7 more
jremick Staff says

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! :)

128 posts
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • Belgium
GeertDD says

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. :-)

208 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 10 000 and 50 000 dollars
AdrianMG says

Thank you guys! I will research a little more. thanks!

by
by
by
by
by
by