208 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
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?

2023 posts Review Manager
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
jremick Envato team 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
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
AdrianMG says

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

by
by
by
by
by
by