【ETL】Kettle字符编码问题

0x01:Kettle保存文件时提示错误?

  一般这种问题是因为数据库连接与数据库字符编码不一致导致的,需指定数据库连接字符编码与数据库一致【Repository Manager】->【数据库连接】->【选项】->【命名参数:characterEncoding;值:数据库编码(如:gbk) 

   

 

0x02:打开转换时提示【一个数据库错误发生在从资源库文件读取转换时 Unexpected error reading step information from the repository Invalid byte 1 of 1-byte UTF-8 sequence.】

  一般发生在Windows系统,需要修改Spoon.bat中JVM参数【-Dfile.encoding=UTF-8】

  

 

posted @ 2020-10-10 13:10  MangoCai  阅读(1705)  评论(1编辑  收藏  举报