PHP encoding with DOMDocument
- by Olivier Lalonde
<tag>
????? ?
</tag>
When I try to get the content of the following code using DOMDocument functions, it returns something like:
ÐÐ»ÐµÐºÑ Ðœ
I've tried setting DOMDocument encoding to different values (UTF-8, ISO-8859-1), using mb_convert_encoding, iconv and utf8_encode but without success.
How can I get "????? ?" instead of…