0

I am using DBCPConnectionPool in order to create a connection and extract data from Oracle DB. But data results were extracted with wrong font. I guess it's due to not set UTF-8 in connection string.

I found a example when set DBCPConnectionPool for MySQL with utf-8: Database Connection URL is set as below:

jdbc:mysql://localhost:3306/?useUnicode=yes&characterEncoding=UTF-8.

But I am not sure how does look like for Oracle. Could you please help me give any solution? Thanks.

hotfix
  • 3,376
  • 20
  • 36

1 Answers1

0

This page might be helpful to understand the intricacies of Unicode support in Oracle. To convert ASCII to UTF-8 in NiFi, use the ConvertCharacterSet processor.

Andy
  • 13,916
  • 1
  • 36
  • 78
  • Thx :) I solved this issue without any changes in Nifi. Originally results of ExecuteSQL processor in Nifi are default with UTF-8. But due to something is wrong from my internal side, so I opened content in result with wrong font :( – Dung Tran Thi Thuy Jul 03 '19 at 10:22