FileUtils.moveFileToDirectory with special characters in the filename

I am using FileUtils.moveFileToDirectory on a file with special characters in its name like: ╩╦╠═╬╧╨╤ ... and other types of code characters. I can see these characters in the file name on the server before moving the file, but after calling the function, the moved file in the target directory replaces those special characters with. Is there a way to preserve the special characters when I move this file around?

+3
java fileutils


source to share


No one has answered this question yet

Check out similar questions:

1571
How to avoid Java code in JSP files?
1367
Fastest way to determine if an integer square root is an integer
1315
How do I create a file and write it in Java?
1215
Why is Java code executed in comments with some Unicode characters?
904
What is the difference between canonical name, simple name and class name in Java Class?
442
Any way to declare an array on a string?
288
Press the Back button twice to exit the operation
4
Java saves file with special characters in filename
0
Upload file - are special characters converted to html characters?
0
directory name contains special characters



All Articles
Loading...
X
Show
Funny
Dev
Pics