Displaying 1 result from an estimated 1 matches for "mb_check_encoding".
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
...aracters have
encoding UTF-8, string which not contain special characters are detected as
ASCII. The string from #7 is detected as UTF-8.
*
mb_detect_encoding("Nahrungserg?nzungsmittel Ausrei?er") => UTF-8
mb_detect_encoding("Nahrungserganzungsmittel Ausreisser") => ASCII
mb_check_encoding("Nahrungserg?nzungsmittel Ausrei?er", "UTF-8") => true
mb_check_encoding("Nahrungserganzungsmittel Ausreisser", "UTF-8") => true*
When I do the checks on the MemCache/database variable I get these results:
*mb_detect_encoding($lSomeStringFromDb) =>...