You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "kangning.li (Jira)" <ji...@apache.org> on 2025/04/14 07:19:00 UTC

[jira] [Commented] (KAFKA-19137) Use `StandardCharsets.UTF_8` instead of `StandardCharsets.UTF_8.name()`

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

kangning.li commented on KAFKA-19137:
-------------------------------------

[~chia7712]    If you have not started on this issue, cloud you assign it to me ? 

> Use `StandardCharsets.UTF_8` instead of `StandardCharsets.UTF_8.name()`
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-19137
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19137
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> The checked exception {{UnsupportedEncodingException}} for {{StandardCharsets.UTF_8.name()}} can be avoided by using {{StandardCharsets.UTF_8}} directly.



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