Informatica解决乱码问题步骤(Mysql数据库)

1:查看MySQL数据库服务器和数据库MySQL字符集

 show variables like '%char%';

2:查看MySQL数据表(table)的MySQL字符集。

 show table status from mydb like '%countries%';

3:target数据库字符集

 SELECT * FROM NLS_DATABASE_PARAMETERS T WHERE T.PARAMETER = 'NLS_CHARACTERSET';

4:系统ODBC字符集

5:odbc加一个参数

 IANAAppCodePage=106

6:查询info的编码

 env|grep NLS_LANG

扫描二维码关注公众号,回复: 298367 查看本文章

 NLS_LANG=AMERICAN_AMERICA.AL32UTF8

7:workflow的connection设置: 

 Source Connection Code Page=UTF8 

 Target Connection Code Page=UTF8

8:IS Process Code Page

(init_srv->processes->General Properties->codepage(UTF-8 encoding of Unicode))

9:把乱码的字段放长10倍试试。

----------------------------------------------------------

如上信息,纯属个人总结,如有问题,请及时联系;

转载请注明出处,谢谢。

猜你喜欢

转载自jcoder-2014.iteye.com/blog/2263157