[ https://issues.apache.org/jira/browse/NIFI-6051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071013#comment-17071013 ]
Fan Li edited comment on NIFI-6051 at 3/30/20, 3:16 PM: -------------------------------------------------------- Is there a recommended work around? I tried to read files within a "ExecuteScript" processor and it appeared to fail for the same reason. was (Author: lifan): Is there a recommended work around? > 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 (v8.3.4#803005)