Author Topic: loading agents.conf in utf8  (Read 4304 times)

qmax

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • Asterisk-11.7.0-ubuntu, Queuemetrics-15.10.1-tgz
    • View Profile
    • Email
loading agents.conf in utf8
« on: July 07, 2009, 12:47:22 »
we really want to keep and refer our agents by their names.
and their names are not of latin1 language.

when agents.conf contains utf-8 agents names,
it is read incorrectly and qm fails to update database.

can it be fixed ?



QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: loading agents.conf in utf8
« Reply #1 on: July 09, 2009, 09:24:01 »
This is not a matter with QM itslef but with the database module, that must be set to handle UTF8 correctly.

See e.g. http://forum.queuemetrics.com/index.php?topic=526.0

qmax

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • Asterisk-11.7.0-ubuntu, Queuemetrics-15.10.1-tgz
    • View Profile
    • Email
Re: loading agents.conf in utf8
« Reply #2 on: July 14, 2009, 09:19:30 »
database is already converted to utf and all mysql parameters set to utf (i missed resultsEncoding though)

misencoding appears when loading agents from file, before they placed in database, at stage
Source > Agents
this page yet displays names in wrong encoding

marcos

  • Loway
  • Full Member
  • *
  • Posts: 138
  • Karma: 3
    • View Profile
Re: loading agents.conf in utf8
« Reply #3 on: July 14, 2009, 17:34:37 »
Hi,

could you, please, post us a copy of your database definition and the agents.conf you're using? We'll try to replicate here the same situation.

You can send all at queuemetrics (at) loway dot ch specifying this post subject in the e-mail.

Thank you for your collaboration.

Regards,
Marco Signorini.

qmax

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • Asterisk-11.7.0-ubuntu, Queuemetrics-15.10.1-tgz
    • View Profile
    • Email
Re: loading agents.conf in utf8
« Reply #4 on: July 15, 2009, 11:43:01 »
i posted new bugreport with more details and more issues

marcos

  • Loway
  • Full Member
  • *
  • Posts: 138
  • Karma: 3
    • View Profile
Re: loading agents.conf in utf8
« Reply #5 on: July 16, 2009, 09:58:32 »
Thank you.


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: loading agents.conf in utf8
« Reply #6 on: August 17, 2009, 10:44:22 »
By the way, I think that's fixed now.

marcos

  • Loway
  • Full Member
  • *
  • Posts: 138
  • Karma: 3
    • View Profile
Re: loading agents.conf in utf8
« Reply #7 on: September 03, 2009, 11:09:50 »
The bug is fixed since the version 1.5.4.
To have it working, please be sure to set the key:

default.charsetEncoding=UTF8

in the configuration.properties file.

Remember to restart the queuemetrics service and to log-off and log-on again to QM session.