You are here: PSPad forum > English discussion forum > Re: Load file without losing Undo's

Re: Load file without losing Undo's

Goto Page: Previous1 2

#11 Re: Load file without losing Undo's

Posted by: Professor Bernd | Date: 2020-10-23 03:19 | IP: IP Logged

Hi, vbr.

When I tried to read a file with obj.OpenTextFile(... TristateTrue) as Unicode, I always got an empty string. yawning smiley

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!

Options: Reply | Quote | Up ^

Goto Page: Previous1 2

Editor PSPad - freeware editor, © 2001 - 2020 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR