Hello,
when using plugins.file.writeTXTFile there seems to be an extra carriage return written at the end. Can this be prevented?
Thanks
Patrick
Hello,
when using plugins.file.writeTXTFile there seems to be an extra carriage return written at the end. Can this be prevented?
Thanks
Patrick
Just noticed one more problem:
I have an XML Word-Document. I read that text into a variable, exchange some tags and write the result to a new file. If I do that and open the result with Word, I get an error saying that the format is not correct.
If I look into the raw XML, I see the extra carriage return that was added but I also see something like “Mnchen” instead of “München”. It appears that some special character is between the “M” and the “n” instead of an “ü”. If I take out “Mnchen”, Word “likes” the file.
So the question is: what does the file plugin do to the text? If I copy the XML from the debugger, it is perfect. If I write it to a file, it is “destroyed”.
P.S. I have to use “ü” instead of that German letter because the forum will not accept my message otherwise.