Pisearch 1.71 and special characters

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kode_fi
Forum Members
Forum Members
Posts: 21
Joined: Mon Oct 17, 2005 7:13 am

Pisearch 1.71 and special characters

Post by kode_fi »

Hi

I can't get Pisearch 1.71 to find strings containing special characters (öäå)
I've tried fresh install of operating system and cmsms 1.02 on Centos 4.4 and Fedora Core 5 with same results. It makes no difference if I use FckeditorX to add content or not, so problem is not &umlaut;-coding or lack of it.
I've tried adding  'default_encoding' value to utf-8 in config.php but it doesn't help

Thanks,

Teemu
Piratos

Re: Pisearch 1.71 and special characters

Post by Piratos »

Try version 1.72 (is ready in the dev)
kode_fi
Forum Members
Forum Members
Posts: 21
Joined: Mon Oct 17, 2005 7:13 am

Re: Pisearch 1.71 and special characters

Post by kode_fi »

Thanks Piratos!!

With pisearch 1.72 ä encoded characters are found from content.
If I set default_encoding from config.php, pisearch seems to use ISO-8859-1.
I think this line from pisearch.module.php sets encoding to 8859-1 if encoding is set at config.php

Code: Select all

if ($config['default_encoding']=="") $encoding='UTF-8'; else $encoding ="ISO-8859-1";
I am still not able find strings containing special characters in Title or Menu Text fields using default search module or pisearch 1.72. If I encode those characters manually (ä --> ä) into mysql database, then both search modules works. Problem is that ä from title or menu text doesn't decode to ä at web page.


Thanks

teemu
cyberman

Re: Pisearch 1.71 and special characters

Post by cyberman »

kode_fi wrote: Problem is that ä from title or menu text doesn't decode to ä at web page.
... cause Admin panel wrotes ä to database.
Post Reply

Return to “Modules/Add-Ons”