View Single Post
Old 12-22-2005, 07:39 AM   #1
casimiro
Green Mole
 
Join Date: Dec 2005
Posts: 2
Is this a character encoding problem ?

I get the following problem when someone tries to make a consult:

[client 192.168.1.1] PHP Warning: mb_eregi() [<a href='function.mb-eregi'>function.mb-eregi</a>]: mbregex compile err: premature end of char-class in /var/www/html/...l/spider/libs/search_function.php on line 488, referer: http://www.extramundobrasil.com.br/...ider/search.php

The href is in the form: http://www.extramundobrasil.com.br/...10&option=start

The character encoding is ISO-8859-1, but MySQL was configured to set tables in UTF-8.

What happens:

I can search sites without trouble (no error messages, nothing). The databases seem to be all right.

When I query the search engine for results (search) it replies the entries without the links (as if the <a href...> is missing), the second line presents OK (including the two urls). So there's nothing to click in order to follow the found link.

It happens in all templates (i use linear). It happens both if I use Portuguese (pt) or English encodings (en).

Box is FC4 + PHP5.

Best regards,

Casimiro
casimiro is offline   Reply With Quote