Skip to content

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

@yothinin

Description

@yothinin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions