Author Topic: Showing Chinese Characters (UTF-08) in OnDemand Client Searching  (Read 2006 times)

gab612antonio

  • Guest
Hi CMOD Champions,

Can I ask on how to show the Chinese Characters in CMOD Client 9.5.

If there is a guide or procedure to be followed, please let me know. Thanks in advance.

-Gab

PS. I have attached the screenshot on where the Chinese Characters should show.

Maciej Mieczakowski

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: Showing Chinese Characters (UTF-08) in OnDemand Client Searching
« Reply #1 on: March 14, 2017, 12:55:27 PM »
Hi,
What is your DB code page? I assume it's UTF8 (ex 1208). For me it looks as those Chinesse characters got converted into different codeset during loading, that's why you don't see them. But it's just my guess.
Could you send the indexfile you used for loading? It could clear some doubts here.

In general if you load data together with indexfile, you shall use save it as UTF-8, to not loose those characters (UltraEdit shows it pretty good, you can use it for checking). Additionally you should use appropriate codepage in indexfile that match that codeset and of course you must have UTF DB :) But it's obvious.

That shall be it. I could assist you more if you provide me the indexfile.

gab612antonio

  • Guest
Re: Showing Chinese Characters (UTF-08) in OnDemand Client Searching
« Reply #2 on: March 14, 2017, 07:13:18 PM »
Hi Maciej,

I have check the index file and its showing the correct Chinese Chars.

What I would like to know is, if there is any configuration I need to make in CMOD client or in the CMOD server. Like updating the FNT files. Note sure if this is the correct way, and if i need to update the FNT files in CMOD Client and CMOD Server.

Thanks.

-Gab

gab612antonio

  • Guest
Re: Showing Chinese Characters (UTF-08) in OnDemand Client Searching
« Reply #3 on: March 22, 2017, 09:35:45 AM »
Thanks all for sharing your thoughts.

I have raised PMR and trying to do their initial fix suggestion:

Also, has anyone have used this suggestion?

http://www-01.ibm.com/support/docview.wss?rs=86&uid=swg21205960

1/ run "locale -a" and check if you have UTF-8 packages returned I've EN_US.UTF-8 in the output of "locale -a" on my AIX box. If you don't have similar UTF-8 packages returned, please install it first.

2/ export LANG and LC_ALL to UTF-8 package:
For example:
AIX:
# export LANG=EN_US.UTF-8
# export LC_ALL=EN_US.UTF-8
# locale
LANG=EN_US.UTF-8
LC_COLLATE="EN_US.UTF-8"
LC_CTYPE="EN_US.UTF-8"
LC_MONETARY="EN_US.UTF-8"
LC_NUMERIC="EN_US.UTF-8"
LC_TIME="EN_US.UTF-8"
LC_MESSAGES="EN_US.UTF-8"
LC_ALL=EN_US.UTF-8

If you don't have corresponding UTF-8 package existing, things get defaulted to "C". If so, you won't see the chinese chars correctly after loading.

3/ restart OD Server by running arssockd
4/ reload the report