Topic "Memory access error with Japanese text-entry in built-in editor"

Author Message
Chris Williams

Guest


I have been using version 3.6.5 of WinSCP.

Periodically, when typing Japanese in the text editor the application will crash with multiple memory access error popups.

When it does not crash, I can write and save the text successfully so it seems it's fundamentally able to handle Japanese text. Perhaps you are only allocating enough room for ascii strings but checking your buffer based on the character count assuming single-byte characters?

Either way, great application!

Thank you,
Chris Williams
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
What text editor do you use? Internal or external?
_________________
Martin Prikryl
Chris Williams

Guest


The internal editor. External editors (notepad, Visual Studio, etc.) work without issue--it's just faster to edit in the internal editor.

-Chris
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Chris Williams wrote:
The internal editor. External editors (notepad, Visual Studio, etc.) work without issue--it's just faster to edit in the internal editor.

-Chris

Unfortunatelly I haven't made the editor. Is is component of Borland's VCL library. So I do not know how it works and I do not dare to make modifications into it. I'll try to look for some patch.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License