Handling UTF-8 with PHP [Web Application Component Toolkit]
str_ireplace() relies of the server’s locale setting to convert all characters to lower case. If the locale setting is something other than ASCII or UTF-8, it may mistakenly match UTF-8 sub-sequences with characters in the locale, and while replacing corr...