6.0.0-beta1
7/4/25

[#10966] Autocomplete.js caanot find special (accented) character matches
Summary Autocomplete.js caanot find special (accented) character matches
Queue Turba
Queue Version 3.0.10
Type Bug
State Resolved
Priority 1. Low
Owners
Requester viktor (at) szepe (dot) net
Created 02/06/2012 (4897 days ago)
Due
Updated 10/18/2012 (4642 days ago)
Assigned
Resolved 10/18/2012 (4642 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
10/18/2012 05:57:36 AM Michael Rubinsky Comment #2
State ⇒ Resolved
Priority ⇒ 1. Low
Reply to this comment
This works fine in current git master. Not worth tracking down further.
02/06/2012 03:45:28 PM viktor (at) szepe (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Autocomplete.js caanot find special (accented) character matches
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
Reply to this comment
turba's server side search find "eva" for keyword 'Éva'
but js's .match function cannot find that, Solution:
if IsNull(n.match(re)) {
                 n.match(re).each(function(m) {
                     var idx = n.indexOf(m);
                     out.l += n.substr(0, idx).escapeHTML() + 
'<strong>' + m.escapeHTML() + '</strong>';
                     n = n.substr(idx + m.length);
                 });
}

Saved Queries