problem of QualityState Plug-in in DS: for chinese character

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
ib_icf
Participant
Posts: 8
Joined: Thu Feb 09, 2006 8:16 am
Location: hd

problem of QualityState Plug-in in DS: for chinese character

Post by ib_icf »

hi guys,

I have to run a standardize job in DS, but meet a problem.

At first when i tested a standardize job in DS which uses USADDR rule sets, it ran very well and i can get the same result as i ran it in QS.

When i ran another standardize job in DS which uses my rule sets to deal with chinese address information, the output is incorrect. All the information is left in unhandled pattern field because the parsed patterns are not expected. That is to say, the rule sets didn't work for the information, cant it read the cls file with right code?

I also tested the job using QSRT API (java), the problem was the same.

I met some of NLS problems before i arrived the end, it may be caused by chinese character with UTF-8 code, but how to resolve it?

Thanks in advance!

Tiger
ib_icf
Participant
Posts: 8
Joined: Thu Feb 09, 2006 8:16 am
Location: hd

Post by ib_icf »

I found this error occurs because the qsrt server run the standardize job using wrong locale setting. It uses the default locale:

Code: Select all

LOCALE is: Chinese_People's Republic of China.936 
this is my windows's locale setting. the right locale should be

Code: Select all

Japanese_Japan.932
, which is used to parse double-bytes asian characters. I know how to set up it for QS server in QS designer, but could not find how to set up it for QSRT server!

to let QSRT server use the right locale setting, i have to set my windows locale is Japanese?

Thanks
Tiger
Post Reply