On Linux(openSUSE) machine I'm trying to deploy on Tomcat 8 application(war file) that contains a files with names with Unicode characters.
Inside of the war file the name looks like:
бжк-природний-1496336830201.xml
but after deploy the file looks like:
???-?????????????-1496336830201.xml
How to tell Tomcat to properly deploy the file names ?
UPDATED
This is a sample war file with Unicode file name inside: war file
What is wrong with the file name of the file inside in this war ?
UPDATED
I have installed unzip-rcc
as it was suggested here https://superuser.com/questions/1215670/opensuse-unzip-unicode-issue and now unzip(console command) on the WAR file is working fine but Tomcat still deploy the files with the same issue.
Try putting these settings in Tomcat startup script:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
From experience, Java will print up-side-down question mark for characters it does not know how to encode.