[TYPO3-english] Indexed search and UTF-8

ktt kestutis98 at yahoo.com
Tue May 24 02:13:05 CEST 2011


Hello,

After conversion of a database to utf-8 collation utf8_general_ci, Indexed search behaviour become quite strange:
with
------------------------------
config.renderCharset = utf-8
config.metaCharset = utf-8
config.sys_language_uid = 0
config.language = dk
config.locale_all = dk_DK
------------------------------
it doesn't find a word which contains characters "æ,å.." etc.

With 
------------------------------
config.renderCharset = utf-8
config.metaCharset = iso-8859-1
config.sys_language_uid = 0
config.language = dk
config.locale_all = dk_DK
------------------------------
Indexed search splits/converts a search word "ansættelse" and writes:
'Search for "ansã" and "ttelse""'

And searches only for a "ttelse"..

Indexed search version - 2.12.0
TYPO3 - 4.5.2
MySQL client version: 5.0.51a

Localconf.php UTF-8 settings:
$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';

Could you advise what needs to be changed?
Since everywhere on the site encodings working correctly except
that strange word split in Indexed search.

Thank you in advance,
Kast A.


More information about the TYPO3-english mailing list