i have a problem with a codeigniter's functions. This is my controller code: http://pastebin.com/YGj9ExkU
On my local machine it works perfect, but on my remote server it returns to me warning:
Severity: Warning Message: htmlspecialchars(): Invalid multibyte sequence in argument Filename: core/Common.php Line Number: 553
The PHP versions is same - 5.3
I think that problem inside my _clean function, but i don't sure about. My searching results don't have success. Some people said that problem with encoding.