Hello,
I would be very pleased if somebody could help me.
I'm trying to encode some strings to UTF-8. The problem comes when using utf8_encode function: every call to this function stops PHP and the full page from loading. I've tried using iconv function, but it requires to know the input encoding so I must call mb_detect_encoding function which also stops PHP. If I use iconv function writing manually some input encoding (and maybe bad guessed) works fine. mb_convert_encoding function is also not working.
I'm using PHP 5.2.9 and I also have another server with the same PHP version, and it doesn't have this problem.
Thank you very much in advance for any help.