Discussion:
encoding issue
romain hennebicq
2013-03-13 10:11:54 UTC
Permalink
Hi,

when i do a search with the form and the word 'école'
the url returned is /cgi-bin/search.cgi?q=%25C3%25A9cole and i have no result,
but if i change q=%25C3%25A9cole by q=école i have all the result.

what is the problem ? (apache configuration or indexer.conf or search.htm)

Best regards,

Romain
Alexander Barkov
2013-03-13 12:09:28 UTC
Permalink
Hi,
Post by romain hennebicq
Hi,
when i do a search with the form and the word 'école'
the url returned is /cgi-bin/search.cgi?q=%25C3%25A9cole and i have no result,
but if i change q=%25C3%25A9cole by q=école i have all the result.
what is the problem ? (apache configuration or indexer.conf or search.htm)
Both can be the reason.

You need to check character set settings in the sequence from
the browser to the database.

Please send the following settings:

1. LocalCharset in indexer.conf
Should be either latin1 or utf8 for French language.
2. indexer --exec="show variables like 'character_set_client'"
Must match N1.
3. LocalCharset in search.htm - must match N1.
4. BrowserCharset in search.htm
Should be either latin1 or utf8 for French language.
5. wget --save-headers -O - http://host/cgi-bin/search.cgi |grep -i
Content-Type
Must match N4.
Post by romain hennebicq
Best regards,
Romain
_______________________________________________
General mailing list
http://lists.mnogosearch.org/listinfo/general
Loading...