Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.13.0
-
None
Description
Current Situation
- YADE uses an internal .ini file format.
- In the case of an XML configuration, an .ini file with UTF-8 encoding is temporarily created and deleted after the transfer.
- YADE uses a standard Java character set to read this .ini file.
- In some situations, if the default Java charset is not UTF-8 and the configured source/target directory/file name settings contain the special characters, the transfer may fail because a correct name was not used.
Desired Behaviour
- YADE should read settings with the character set UTF-8.
Workaround
- Add -Dfile.encoding=UTF-8 system property to the YADE start script (<yade_home>/bin/yade.cmd|sh, yade4dmz.cmd|sh)
Test Instructions
- Configure e.g. a Copy Local to Local transfer
- Use the XMl settings file and define the path of the Source directory in which the special characters are used,e.g:
- Directory=C:\temp\öüä 123ä