Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent_console, eccp can't display Thai messages. #50

Open
yothinin opened this issue Jul 6, 2023 · 0 comments
Open

agent_console, eccp can't display Thai messages. #50

yothinin opened this issue Jul 6, 2023 · 0 comments

Comments

@yothinin
Copy link

yothinin commented Jul 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant