views:

228

answers:

1

How convert PHP value from windows-1257 to UTF-8? I tried many ways, but they was not successful. I have lttu�s and I wanna convert this to littūs.

utf8_encode(); 
iconv_set_encoding("windows-1257", "UTF-8");
mb_convert_encoding()

Doesn't work. :(

Can anybody help me?

A: 

Have you checked that the page you are using to display the converted string has the Encoding and CodePage set correctly?

Vishal Seth
Yes. That page is encode in UTF-8 without BOM and has <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >.
simple