Report this

What is the reason for this report?

Java Servlet File Name With Special Characters Is Not Showing Correctly In File Download Dialog

Posted on April 13, 2017

When trying to download the files using the java servlets with special characters in filenames like “昨夜のコンサートは最高でthúy ngọc.xlsx” is showing the boxes in file download dialog for IE11 and Firefox 45 browsers. Please do help in this regard.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @sreenivasulu

Is your entire project and database UTF-8 or UTF-16 enabled all the way? And make sure the webpage also defines charset.

This usually happens when some places supports UTF, but other places define another charset.

While planning language components, there are generally tradeoffs. Toward one side, a few builds give extraordinary capacity to the hands of the designers. In any case, extraordinary power requires extraordinary obligation. The majority of the engineers are not sufficiently experienced to assume the liability.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.