Skip to Content Skip to Menu

Problem in the new autocomplete

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 6 months ago - 12 years 6 months ago #196839 by fribse2011
Problem in the new autocomplete was created by fribse2011
I have just installed the 2.7, and it seems to work very nice.
The autocomplete also works under 2.5, which is nice.
It does however have a problem with danish characters.


As you can see, I've written søre, and it suggests s[garbage] instead of the ø
They are both called søren, so it eats up øre

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:
Last edit: 12 years 6 months ago by fribse2011.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 6 months ago #196908 by slabbi
Replied by slabbi on topic Re: Problem in the new autocomplete
The autocompleter seems to have problems with UTF8 encoded text.
I will check the code.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 6 months ago #196966 by fribse2011
Replied by fribse2011 on topic Re: Problem in the new autocomplete
Thanks!

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 6 months ago #196992 by slabbi
Replied by slabbi on topic Re: Problem in the new autocomplete
Checked:



Work fine under Joomla 2.5. I created a new user and it is displayed correctly.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Attachments:

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 6 months ago #196995 by slabbi
Replied by slabbi on topic Re: Problem in the new autocomplete
Can you try following:

In includes.php you will find in line 1096/1097 the function calls
Utf8.decode(decodeURIComponent(data))
replace this with
decodeURIComponent(data)

Maybe it makes troubles when the data is already UTF8 encoded.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 6 months ago - 12 years 6 months ago #197000 by fribse2011
Replied by fribse2011 on topic Re: Problem in the new autocomplete
After modifying it, I see the correct result (I had to modify both lines).



Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:
Last edit: 12 years 6 months ago by fribse2011.

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum