Open yothinin opened 1 year ago
Hello, I have found the problem when I set Thai description in Break, Queue script, it's cannot display incorrect they display ???? Is it possible from XML encoding?
I print some data in ECCP.class.php and I have this example text:
[root@issabel eccp]# php getqueuescript.php 3301 Connect... SimpleXMLElement Object ( [script] => ??????????? ) Disconnect...
[root@issabel eccp]# nano /var/www/html/modules/agent_console/libs/ECCP.class.php [root@issabel eccp]# php getqueuescript.php 3301 Connect... < ? xml version="1.0" ?> < response id="1">560bb2c108f6a23b4e1787676e7b875a< /login_response> < ?xml version="1.0"?> < response id="2"> SimpleXMLElement Object ( [script] => ??????????? ) Disconnect... < ?xml version="1.0"?> < response id="3"> [root@issabel eccp]#
How to add encoding='UTF-8' in < ?xml version="1.0" ?> tag?
Thank you for any help.
Hello, I have found the problem when I set Thai description in Break, Queue script, it's cannot display incorrect they display ???? Is it possible from XML encoding?
I print some data in ECCP.class.php and I have this example text:
[root@issabel eccp]# php getqueuescript.php 3301 Connect... SimpleXMLElement Object ( [script] => ??????????? ) Disconnect...
[root@issabel eccp]# nano /var/www/html/modules/agent_console/libs/ECCP.class.php [root@issabel eccp]# php getqueuescript.php 3301 Connect... < ? xml version="1.0" ?> < response id="1">560bb2c108f6a23b4e1787676e7b875a < /login_response>
< ?xml version="1.0"?>
< response id="2">
SimpleXMLElement Object
(
[script] => ???????????
)
Disconnect...
< ?xml version="1.0"?>
< response id="3">
[root@issabel eccp]#
How to add encoding='UTF-8' in < ?xml version="1.0" ?> tag?
Thank you for any help.