Page 1 of 1
pisearch not working with non-ASCII chars
Posted: Sat Jul 22, 2006 3:29 pm
by q20060418
Hello:
I've installed CMSMS v0.13 and pisearch 1.03, and they are working properly if I look for strings using ASCII chars only, but it doesn't work when I use any european (non-ASCII) chars like: ï, ü, etc.
I've set $config['default_encoding'] = 'ISO-8859-1' and $config['admin_encoding'] = 'ISO-8859-1' in config.php, changed charset=ISO-8859-1 in Global Settings --> Global Metadata, and corrected the content to update these changes in database. Now those chars keep showing OK in the browser, but the search function still doesn't work.
Could you help me, please?
Re: pisearch not working with non-ASCII chars
Posted: Sat Jul 22, 2006 6:04 pm
by Piratos
Many peoples are working with the module and german and other charsets (i am a german) without problems .
Have a liink ?
Re: pisearch not working with non-ASCII chars
Posted: Sun Jul 23, 2006 5:18 pm
by q20060418
I've sent you the access details by private message. Could you please take a look at it?
Thanks in advance.
Re: pisearch not working with non-ASCII chars
Posted: Sun Jul 23, 2006 8:28 pm
by Piratos
Yeah but your link doesn't work, all links are to localhost and no stylesheets are working.
[attachment deleted by admin]
Re: pisearch not working with non-ASCII chars
Posted: Sun Jul 23, 2006 8:59 pm
by q20060418
I'm really sorry about that.

I've corrected and checked it, and now it works.
I've sent you the new access details as a private message.
Could you please take a look at it again?
Thanks once more.
Re: pisearch not working with non-ASCII chars
Posted: Wed Jul 26, 2006 6:27 pm
by q20060418
Sorry Piratos. I had to reset my router. Please, contact me to give you the new IP address if you still want to review my site.
Re: pisearch not working with non-ASCII chars
Posted: Thu Jul 27, 2006 9:58 am
by photon
I had the same problem, and I solved it by using html-entities (
http://ascii.cl/htmlcodes.htm ) in the code.
For example
ö equals
ö (latin small letter o with diaeresis).
FCKEditorX converts to html-entities automatically, but unfortunately FCKEditorX has never worked in Opera for me (Opera 8.5), so I have to re-edit all pages in IE.
Re: pisearch not working with non-ASCII chars
Posted: Thu Jul 27, 2006 1:57 pm
by q20060418
You're exactly right photon! Using FCKEditor to enter non-ASCII chars makes pisearch work properly.
Thank you very, very, much!
By the way, piratos, could you please take this into account for future releases of your pisearch module?
Thanks anyway.