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

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by