When uploading Arabic files in Spring, filename ends up with XML entities instead of Arabic glyphs

Posted by sword101 on Stack Overflow See other posts from Stack Overflow or by sword101
Published on 2010-05-18T13:03:58Z Indexed on 2010/05/18 13:50 UTC
Read the original article Hit count: 333

I am using Spring upload to upload files. When uploading an Arabic file and getting the original file name in the controller, I get something like:

المغفلين.png

I expect it to be:

????????.png

Any ideas why this problem occur?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring