2017-06-04 18:38 GMT+03:00 Desteny Child <myshar...@gmail.com>:
> Hi,
>
> 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
>
> Also, with unzip (Linux console command) everything works fine(files are
> with a correct names).

JAR and WAR file formats use UTF-8 encoding for file names

[UN]ZIP uses platform default encoding (and as such may be incompatible)

You need to use "jar" tool to pack or unpack the file.

http://docs.oracle.com/javase/8/docs/technotes/tools/unix/jar.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to