You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2017/10/20 10:59:00 UTC

[jira] [Created] (OPENNLP-1148) use StandardCharsets.UTF_8 in doc

Koji Sekiguchi created OPENNLP-1148:
---------------------------------------

             Summary: use StandardCharsets.UTF_8 in doc
                 Key: OPENNLP-1148
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1148
             Project: OpenNLP
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 1.8.2
            Reporter: Koji Sekiguchi
            Assignee: Koji Sekiguchi
            Priority: Trivial
             Fix For: 1.8.3


In the doc, the use of PlainTextByLineStream() is not unified. Other than specifying StandardCharsets.UTF_8 for its second parameter, there are following variations:

- String "UTF-8"
- StandardCharsets.UTF8 (not UTF_8)
- Charset.forName("UTF-8")

Let's unify the use to StandardCharsets.UTF_8



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