kettle —— When our data uses Kttle to extract data, there is a problem of Chinese garbled characters

When using Kettle to extract data from different databases, Chinese garbled characters sometimes appear: The solution is as follows:

1. Check whether the character set of the database is UTF-8 (the most commonly used character set)

2. If the database settings are correct and there are still Chinese garbled characters, it may be because the default encoding set of some client databases is not UTF-8. We only need to configure the encoding of the output database when outputting. My database is MySql, here is the solution diagram:

a. My conversion graph

2. Open the table output -> "Edit" after the database connection -> Advanced, enter in the blank below: set names utf8;

3. In the third step, when outputting, right click to edit as shown in the figure, click on the option named parameter last column: add characterEncoding, value add utf-8/gbk

Guess you like

Origin blog.csdn.net/youyouxiong/article/details/82593384