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


source to share





All Articles