Open HamzaAlayed opened 1 year ago
While this is possible, I don't think that's a good idea.
Why not encode it with UTF-8?
if (mb_detect_encoding($xml_string, 'UTF-8', true) === false) {
$xml_string = utf8_encode($xml_string);
}
@hlu2 could you take a look?
:bug: Use
UTF8
encoding to fix some special characters in xml response and fix this errorDOMDocument::loadXML(): PCDATA invalid Char ....
.