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

ASF GitHub Bot commented on NIFI-5446:
--------------------------------------

Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/2910
  
    Thanks @tasanuma , LGTM +1, merging!


> Specify the file encoding option to UTF-8 in pom.xml
> ----------------------------------------------------
>
>                 Key: NIFI-5446
>                 URL: https://issues.apache.org/jira/browse/NIFI-5446
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Takanobu Asanuma
>            Assignee: Takanobu Asanuma
>            Priority: Major
>
> {{TestJacksonCSVRecordReader.testUTF8}} failed in my environment (CentOS 7).
> {noformat}
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.nifi.csv.TestJacksonCSVRecordReader
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.272 
> s <<< FAILURE! - in org.apache.nifi.csv.TestJacksonCSVRecordReader
> [ERROR] testUTF8(org.apache.nifi.csv.TestJacksonCSVRecordReader)  Time 
> elapsed: 1.007 s  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[???]> but was:<[???]>
>       at 
> org.apache.nifi.csv.TestJacksonCSVRecordReader.testUTF8(TestJacksonCSVRecordReader.java:81)
> {noformat}
> After a bit of research, the problem seems to be same as 
> [here|https://stackoverflow.com/questions/17656475/maven-source-encoding-in-utf-8-not-working].
> I specified the file-encoding option of UTF-8 in the command line arguments 
> and the unit test succeeded.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to