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

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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

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.