zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janek P (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1976) address internationalization issues identified by findbugs 2.0.3
Date Sun, 18 Jun 2017 21:25:00 GMT

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

Janek P commented on ZOOKEEPER-1976:
------------------------------------

Some of the operations do not accept the encoding parameter. However, supposed that we replace
them with the one that do like described here: https://stackoverflow.com/questions/9852978/write-a-file-in-utf-8-using-filewriter-java
, can we use UTF-8 universally everywhere? That should remove the dependency on default encoding.
Theoretically this could fail for reading of e.g. file names with non UTF-8 characters on
some non-UTF-8 compliant locales, but I believe most data that is written is generated by
Zookeeper anyway. WDYT?

> address internationalization issues identified by findbugs 2.0.3
> ----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1976
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1976
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.0
>            Reporter: Patrick Hunt
>
> Findbugs 2.0.3 found a number of internationalization issues with the code, we ignored
these for the time being in ZOOKEEPER-1975, however we should address them one by one eventually.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message