Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Getting Issue when zip file name is having Japanese character

Hi
I have zip file name with Japanese Character(??_?? ???.zip)  While reading the file name I am getting Japanese character as ? and the tFileUnarchive component throwing error.
I tried with adding -Dfile.encoding=UTF8 in JVM parameter of Job Conductor but still facing same issue.
Talend Version 5.5.1
Error Details:-
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][Test.root.flush][main] - java.io.FileNotFoundException: \\TalendLoader\TEST_QA\Ashish_????????.zip (The filename, directory name, or volume label syntax is incorrect)[/font][/color]
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at java.io.RandomAccessFile.open(Native Method)[/font][/color]
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)[/font][/color]
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:213)[/font][/color]
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:192)[/font][/color]
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:164)[/font][/color]
[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at com.talend.compress.zip.Unzip.doUnzipWithoutDecryption(Unzip.java:132)[/font][/color]

[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif][ERROR][24 May 2016 03:57:45][[/font][/color]Test.root.flush[color=#7d2727][font=Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif]][main] - at com.talend.compress.zip.Unzip.doUnzip(Unzip.java:63)[/font][/color]

I found similar issue on below post but I am not using karaf as a container.
https://community.talend.com/t5/Design-and-Development/resolved-Encoding-UTF-8-and-ISO-8859-1-Unix-a...

Could you please give any suggestion for solving the issue. .
Thanks
Ashish

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thanks John 0683p000009MACn.png

it works by setting jvm parameter on job conductor.I was having some mistake(one file output component was having ISO encoding) in my job itself .After correcting it and addition of -Dfile.encoding=UTF8  in jvm param configuration of conductor works well.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

This should be fixed by running the JVM in the proper encoding. If you are running your jobserver in Karaf then setting the jvm parameters in the Karaf wrapper config file as your linked post suggests should work. 
Anonymous
Not applicable
Author

Thanks John 0683p000009MACn.png

it works by setting jvm parameter on job conductor.I was having some mistake(one file output component was having ISO encoding) in my job itself .After correcting it and addition of -Dfile.encoding=UTF8  in jvm param configuration of conductor works well.