I have a template file (template.txt) saved in utf-8 format. Contents are as below:
placholder1¬placholder2
Notice that it has a latin character ¬ .
My Java application reads this file replaces the placeholder as per business logic and saves it to another file (cdr.txt) which is also in utf-8
Contents of cdr.txt are as below:
val1¬val2
This file is then transferred to remote system via FTP and in remote system when I see the content it looks like:
val1¬val2
I want this file content to be:
val1¬val2
Where am I going wrong?
My java application is running with option -Dfile.encoding=UTF-8