umlauts in INSTDIR
Hello !
My installer tries to replace a placeholder in a xml file with the value of INSTDIR with a macro called "ReplaceInFile". It works nice as long as there are no umlauts in INSTDIR. If there are umlauts in INSTDIR the file is corrupted. Notepad does not show the file correctly (it omits the chars), my java-application cannot handle the file too but wordpad shows all chars (File is UTF-8 before the modification and afterwards too).
example (in notepad):
#filedir# will be replaced with c:\program files\programÄ_Ö_Ü; result is c:\program files\program<npc>_<npc>_<npc>
<npc>: not printable char
So it looks like the inserted chars use the wrong encoding. Any ideas how to insert umlauts in the correct encoding ?
Thanks,
Helge