" /> Outbound Database doesn't display correctly vietnamese characters! - Genesys CTI User Forum

Author Topic: Outbound Database doesn't display correctly vietnamese characters!  (Read 3045 times)

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Advertisement
Hi everyone,

I have a problem when i fill a outbound field on GA With vietnamese Characters. Must I configure OCS or OCS DBServer to support UTF-8?
Pls give me some advise !
Thanks a lot.

[img width=404 height=480]https://i.imgur.com/GKqhnJ4.jpg[/img]
[img width=640 height=304]https://i.imgur.com/xPtqeCT.jpg[/img]

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #1 on: November 21, 2017, 08:15:40 AM »
is your config server configured to support UTF-8 ? and DB?

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #2 on: November 21, 2017, 10:27:00 AM »
Yes, I configured config Server and Outbound DB as follows:

[img width=640 height=29]https://i.imgur.com/hzEuBtC.jpg[/img]
[img width=640 height=16]https://i.imgur.com/sG55GRj.jpg[/img]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #3 on: November 21, 2017, 11:39:08 AM »
When you installed CfgServer, did you use the correct init script? The multi lang one?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #4 on: November 21, 2017, 12:12:18 PM »
Check the locales of server where the OCS (OCS and related DB Server) is running

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #5 on: November 22, 2017, 05:35:23 AM »
@cavagnaro . Yes i did. I use all multilange scripts to create database.

@Kubig: What should i configure OCS to support utf-8 ?
I tried to configure msql_name=./dbclient_851/dbclient_msql in Outbound DB Server option tab. But it doesn't work.

Thanks a lot

Offline catanirex

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 11
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #6 on: November 22, 2017, 09:00:20 AM »
Did you configure Administrator to handle utf-8?

In the web.config configuration file located in the Genesys Administrator installation directory, insert the following line:

<add key="PSDKEncoding" value ="UTF-8"/>

Also, there is a document on Genesys web site describing how to set Genesys up to handle mixed languages:

https://docs.genesys.com/Documentation/MixedLangWP

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #7 on: November 22, 2017, 09:05:41 AM »
Also use the latest GA where you can also define the PSDKEncodingDB - for further details follow documentation and release notes

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #8 on: November 23, 2017, 01:32:07 AM »
@catanirex: I tried to configure both Config Server and GA as intructions in "https://docs.genesys.com/Documentation/MixedLangWP" . But it doesn't help. In DB Table, I changed Colume type from VARCHAR  to Nvarchar and tried insert directly to DB Table. It worked well. But when update via GA. It still get errors  ???

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #9 on: November 23, 2017, 09:26:13 AM »
Let me quote release notes for GA:

[quote]New in This Release

There are no restrictions for this release. This section describes new features that were introduced in this release of Genesys Administrator.

Manual override of Configuration Server and Database encoding settings: You can now force Genesys Administrator to use UTF-8 encoding when interpreting data in Configuration Server, and in any DBMS to which it connects directly, such as an Outbound Contact database.

By default, Genesys Administrator uses Configuration Server’s multi-language mode to determine whether to switch to UTF-8. By using the following new options in the Web.config file, you can configure Genesys Administrator to work in non-standard environments where, for legacy reasons, UTF-8 might have been used outside of multi-language deployments introduced with Management Layer 8.1.3.

PSDKEncoding
Default Value: No default value
Valid Values: utf-8
Changes Take Effect: After IIS restart

Specifies the encoding used by Configuration Server. If this option is not set, the encoding used is based on the language mode (single- or multi-language) used by Configuration Server. When this option is set, Genesys Administrator uses the encoding specified in the Web.config file when handling configuration data, ignoring the Configuration Server language mode.

PSDKEncodingDB
Default Value: No default value
Valid Values: utf-8
Changes Take Effect: After IIS restart

Specifies the encoding used for interpreting database data. If this option is not set and PSDKEncoding is also not configured, the encoding used to handle database data is based on the mode (single- or multi-language) used by Configuration Server. If PSDKEncoding is set, and PSDKEncodingDB is not set, database data is interpreted based on PSDKEncoding data. If PSDKEncodingDB is set explicitly in Web.config, this value will be used when handling all database-bound data, regardless of any other settings or Configuration Server mode.

Notes:

Make sure that the encoding is the same for the database, the database client, and Genesy Administrator.
A typical deployment will not require you to set either of these options. Use them only if instructed to do so by Genesys Customer Care.[/quote]

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Outbound Database doesn't display correctly vietnamese characters!
« Reply #10 on: November 26, 2017, 08:39:16 AM »
Hi Kubig,

I tried to set both 2 options but it doesn't help.

[code]PSDKEncoding
Default Value: No default value
Valid Values: utf-8
Changes Take Effect: After IIS restart

PSDKEncodingDB
Default Value: No default value
Valid Values: utf-8
Changes Take Effect: After IIS restart[/code]