-
Notifications
You must be signed in to change notification settings - Fork 15
Description
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"><login_response><app_cookie>560bb2c108f6a23b4e1787676e7b875a</app_cookie>< /login_response>
< ?xml version="1.0"?>
< response id="2"><getqueuescript_response><script>???????????</script></getqueuescript_response>
SimpleXMLElement Object
(
[script] => ???????????
)
Disconnect...
< ?xml version="1.0"?>
< response id="3"><logout_response></logout_response>
[root@issabel eccp]#
How to add encoding='UTF-8' in < ?xml version="1.0" ?> tag?
Thank you for any help.