You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/07/19 07:50:00 UTC

[jira] [Commented] (FLINK-28607) Table-API print connector encoding issue

    [ https://issues.apache.org/jira/browse/FLINK-28607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17568402#comment-17568402 ] 

Martijn Visser commented on FLINK-28607:
----------------------------------------

[~sarahhhc] Do you want to make on a PR to fix this?

> Table-API print connector encoding issue
> ----------------------------------------
>
>                 Key: FLINK-28607
>                 URL: https://issues.apache.org/jira/browse/FLINK-28607
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Common, Table SQL / Ecosystem
>            Reporter: Sarah Cho
>            Priority: Minor
>
> I found out Table API's print connector has an encoding issue.
>  
> [https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/api/common/functions/util/PrintSinkOutputWriter.java#L54]
> You can set PrintStream with encoding like this.
> ```java
> PrintStream stream = new PrintStream(System.out, true, StandardCharsets.UTF_8);
> ```
>  
> Can I make a PR for this?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)