Bug #16606

indexed_search and utf transformations

Added by Thanos no-lastname-given over 14 years ago. Updated almost 8 years ago.

Should have
Indexed Search
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


indexed_search version all. Trying to fix in 2.9.2

I have a site with 2 languages:
Default that is set to be greek and English.
The database is set to:
MySQL charset: (utf8)
MySQL connection collation: utf8_general_ci
And the typo3 database is: MyISAM utf8_general_ci

In the localconf the forceCharser is set to utf-8

When I search in greek (both with and without the L variable set) for a single Greek word the input field tx_indexedsearch[sword]" returns and renders the word correctly (in readable Greek) but the search is contacted for few repeating Greek letters. You can see this at attached picture. I know is Greek to you but the problem is obvious.

When I search for an English word then everything works fine.

Now when I search in English (with L=1) for an English word again everything goes fine. But when I query a Greek word then another strange issue appears. The search-for string is renders the Greek word correctly but the input field returns the word in the utf equivalent that looks something like the following

(㥀㥀㥀㥀㥀㥀㥀㥀㥀㥀㥀 )

I tried to fixed that by removing the htmlspecialchars() when the input field is created in php, but I don’t believe that this is the correct approach.

The problem is the way the page is rendered. If I use utf-8 as metaCharset, the problems are solved but then I don’t have an actual localization and realy i dont like it.

So something in the core of the typo that handles the utf transformations is not working correctly and I noticed that also when I have to submit something from the front end (for example a chat) or when I have a javascript alert the same problem with the Greek appears.

Because I am new in the TYPO3 philosophy and my PHP programming skills are not so good I would appreciated some help in this issue.

(issue imported from #M4303)


index_search1.gif (6.09 KB) index_search1.gif Administrator Admin, 2006-09-29 14:31

Also available in: Atom PDF