Posted by: Professor Bernd | Date: 2020-10-23 03:19 | IP: IP Logged
When I tried to read a file with obj.OpenTextFile(... TristateTrue) as Unicode, I always got an empty string.
After that I suddenly thought that my INI routines also work with obj.OpenTextFile(). I thought that this code would also generate errors now. During a test I created a test key with ö ä ü ß ... using VBScript obj.OpenTextFile() from an INI and output it with "Echo strText". Everything was fine, the characters were all displayed as stored in the INI.
So it seems to be due to the different encodings when strText is written to the editor via VBScript. - Interesting - But I've been working on it for far too long.
I'm currently trying to integrate an AutoIt COM server into PSPad. First tries look good.
Thanks for your valuable support!