Topic "Intarnal Editor causes multi-byte character corruption"

Author Message
Jap

Guest


Internal editor causes multi-byte character corruption on WinSCP 5.9.3.

Conditions
- Shift-JIS(CP592) Encoding
- double-byte character near 2048th bytes from the beginning

I guess that WinSCP can not handle double-byte character across buffer boundaries correctly.

thank you.
WinSCP_Shift-JIS.txt (2.01 KB) [Download]

Description: TestFile

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
Thanks for your report.
Can you post a test file before the corruption?
Jap

Guest


martin wrote:
Thanks for your report.
Can you post a test file before the corruption?


I attached the file before corruption to the first post.
WinSCP_terapad.png (14.12 KB)

Description: The test file view in the other text editor.

WinSCP_terapad.png

Jap

Guest


Add a corrupted view image for comparison.
WinSCP_shift-jis.png (9.37 KB)

Description: The test file view in the WinSCP internal editor.

WinSCP_shift-jis.png

Jap

Guest


Jap wrote:
Add a corrupted view image for comparison.


The attached image above was a mistake. Correct.
WinSCP_editor.png (15.69 KB)

Description: The test file view in the WinSCP internal editor.

WinSCP_editor.png

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
This bug has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1511

Please test WinSCP 5.9.4 (to be released shortly).
Jap

Guest


martin wrote:
This bug has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1511

Please test WinSCP 5.9.4 (to be released shortly).


I confirmed the fix on WinSCp 5.9.4.

Thank you!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
Thanks for your feedback!
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