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 ¨aut;-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
Pisearch 1.71 and special characters
Re: Pisearch 1.71 and special characters
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
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
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";
Thanks
teemu
Re: Pisearch 1.71 and special characters
... cause Admin panel wrotes ä to database.kode_fi wrote: Problem is that ä from title or menu text doesn't decode to ä at web page.