[
https://issues.apache.org/jira/browse/NIFI-6051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830985#comment-16830985
]
James Bridge commented on NIFI-6051:
------------------------------------
If
java.arg.8=-Dsun.jnu.encoding=UTF-8
is added to the nifi.properties file then ListFile is able to list files with
special characters but then FetchFile decides that it
does not have privileges to read the files (the code to check the read
privileges is unable to open the file with special characters
so defaults to declaring it unreadable).
This is a major issue with nifi unless there is some simple work around so
should be given high priority for fixing.
> FetchFile fails on filenames containing characters with orthographic marks
> --------------------------------------------------------------------------
>
> Key: NIFI-6051
> URL: https://issues.apache.org/jira/browse/NIFI-6051
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.8.0
> Reporter: Andy LoPresto
> Assignee: Juan Carlos de la Prada de Haro
> Priority: Major
> Labels: encoding, file, utf-8
> Attachments: Sin título.png
>
>
> As reported in the Slack channel:
> {quote}
> Hi all! I'm trying to use FetchFile processor to read some files but it's not
> possible when directories includes special characters. I tried to solve that
> issue modifying the character set to UTF8. To do so I add
> "java.arg.8=-Dfile.encoding=UTF8" argument in the boostrap.conf file but it
> doesn't work properly.
> {quote}
> The processor (and any other that interacts with the file system) should be
> fixed to properly handle filenames such as:
> * {{información.txt}}
> * {{líneas.csv}}
> * {{tack_så_mycket.json}}
> * {{słowo.xml}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)