php - UTF-8 xml file shows Gibberish -


I have a UTF-8 encoded XML file, which was exported from Wordpress MySQL database.

Although the file is saved as UTF-8, and the encoding is UTF-8, I get a gossip in exchange for the Hebrew text that should be there, which looks like this:

>

How can I find the original encoding or charset and convert text to proper Hebrew?

PHP's mb_detect_encoding ($ str);

ÃÆ'Ã, ¢ à ¢  ¢ à¢ à ¢ â,¬Å¡Ãƒâ € šÃ,Â

and

× × × × × × <ž

< / Blockquote>

... Any ideas how to go about this? Convert ($ str) {$ hebrew = array ("A", "B", "G", "<">


Comments