UTF8俄语或亚洲字符串,有助于PHP编码

I am having trouble properly encoding UTF8 strings. I am fetching data from meta title/description data of remote international website and then I use javascript to place the string into a input text box.

Some sites encode properly, however some do not and return odd characters. For example two sites I am having trouble are: http://www.telki.ru/ (careful: adult content) and http://www.backchina.com/

I have tried utf8_encode,decode etc, but cannot figure out a universal solution that will work with all sites. Help please!

Parse the HTTP response headers and the META tags for the appropriate charset to use.