mstkris
mstkris

Reputation: 1

Variable be assign or refresh Unicode characters garbled (ODI)

I have using Variables refresh text from MSSQL, but the return garbled characters that contains Chinese characters.

Running the same script in MSSQL returns the correct result without garbled.

Do you have the same issues , and how to fix it ?

Upvotes: 0

Views: 186

Answers (1)

VietnamDataEngineer
VietnamDataEngineer

Reputation: 171

Can you share sql refresh variable? I think you should remove special character when you select to refresh variable? Something like this(on Oracle):

select 
REGEXP_REPLACE('漢字123 [email protected] 漢字','[^a-z_A-Z0-9 ]') as STR 
from dual;

Upvotes: 0

Related Questions