Closed lin-yao closed 6 years ago
@lin-yao Thanks for the contribution, what do you think if we externalize the character encoding to a property? Something like default.charset=UTF-8
in the agent configuration:
agent.sources.sqlSource.default.charset = UTF-8
@Luca Rosellini:
That’s a better way. Thanks for your attention.
在 2018年4月9日,14:51,Luca Rosellini notifications@github.com<mailto:notifications@github.com> 写道:
@lin-yaohttps://github.com/lin-yao Thanks for the contribution, what do you think if we externalize the character encoding to a property? Something like default.charset=UTF-8 in the agent configuration:
agent.sources.sqlSource.default.charset = UTF-8
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/keedio/flume-ng-sql-source/pull/54#issuecomment-379652449, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALFw_WHAnyAZZQS-B0AWQTHFSyPG1VhKks5tmwUPgaJpZM4TJcmO.
Result set from DB converted to UTF-8 character encoding.