Last post Aug 13, 2011 01:00 AM by Decker Dong - MSFT
Aug 10, 2011 10:57 PM|samuniu|LINK
Hi. I want php to read text from xml file. The text contains lithuanian letters. However, no matter what encoding i set, php never reads lithuanian letters. I tried such encodings: utf-8, utf-16, windows-1257 and few others that support lithuanian letters.
I have also set encoding in php file whit header function. Does anyone know what i am doing wrong?
Aug 13, 2011 01:00 AM|decker dong - msft|LINK
You can try to save the whole xml in the NotePad, but you known that NotePad will save the file in the form of ASCII, when you choose "Save As……", plz save it into the form of UTF-8 in the Dropdownlist. And then use php to read it out.
PS： This isn't a place for PHP, I'd suggest you asking here: