I have problem France language in searching in php . My project work fine in English, but when I search in France language, it always shows Message: non-utf8 string: é
. Any one have solution with this problem? Help me please.
Asked
Active
Viewed 48 times
0

koe
- 736
- 1
- 12
- 33
-
Provide some code? Is it web app, desktop app? – Hüseyin BABAL Jan 15 '14 at 06:46
-
yes i using php in zendframwork – koe Jan 15 '14 at 07:21
-
You need to check your db character settings. For detail refer here http://stackoverflow.com/questions/14256742/to-use-utf8-or-not-mysql-and-php-character-encoding-issue – Hüseyin BABAL Jan 15 '14 at 07:27
1 Answers
2
you can use function htmlentities
example : htmlentities($testForSearch);
more you can see here http://php.net/htmlentities

sk juli kaka
- 470
- 1
- 5
- 19
-
i don't know why this function can help for a case in a function but other function still can't help – koe Jan 15 '14 at 08:50