Special chars at beginning

Create issue
Issue #6 wontfix
Former user created an issue

Autocompletion does not work when typing begins with a special char like "ö". It does not find any matches.

Comments (9)

  1. Germano Gabbianelli repo owner

    Could you please attach a snippet to test your problem? In my local repo it seems to work correctly.

  2. Former user Account Deleted

    When I call the autocomplete-url, i get a result like this:

    [["\u00d6l", "\u00d6l"] ...

    where the database value is "Öl".

  3. Germano Gabbianelli repo owner

    if you don't post some code to reproduce the error, I won't be able to fix it.

  4. Former user Account Deleted

    in the urls.y, i have:

        id = 'technique',
        queryset = Technique.objects.all(),
        fields = ('name__icontains', ),
        limit = 8,
        key = 'name',
        label = 'name',
        auth = True,

    and in the template:

      <input type="hidden" name="technique" id="id_hidden_technique" value="" /> 
      <input type="text" id="id_technique" value=""  id="id_technique" /> 
      <script type="text/javascript">var ac_technique = new autocomplete("technique", "/autocomplete/technique/", false);</script> 

    A database value is "Öl", but when I type "ö" in the autocompletion field, it does not provide suggestions. When I type "l", it suggests "Öl".

  5. Former user Account Deleted

    I am using sqlite, so thanks for the hint; unfortunately, an uppercase "Ö" does not work, either.

  6. Former user Account Deleted

    Thanks for the link, interesting article. I will consider implementing a similar function, but basically it does not solve the problem, since in my case, I'm entering the correct "accent", which IMHO should trigger the autocompletion results.

  7. Log in to comment