0

I put all the data in a spreadsheet, which contains Japanese. In order to save those Japanese characters correctly, I saved the spreadsheet as UNICODE txt. Then I open it, I can see those Japanese display well.

Then I change the .txt extension to .csv(open it still displays Japanese well), and put it into kettle inbox folder.

But after run the kettle, I found the value in db table is ??.

In .ktr file for extracting the value of .csv, the column contains Japanese is defined as string.

In spoon, I already change the .csv file encoding is UTF-16 and format is mixed(dos&unix)

In the stored procedure for inserting the data into db table, the variable holds the Japanese is defined as nvarchar(255).

So I do not know how to solve this issue, please help. Thanks in advance.

4

1 回答 1

0

找到解决方案。

使用记事本将输入的 csv 文件更改为 unicode 编码。将 pentaho 内容格式更改为 MIX 并将编码更改为 UTF-8(16 不起作用)

于 2014-05-30T13:45:27.723 回答