Differences

This shows you the differences between the selected revisions of the page.

2017-04-03 2017-05-03
linking new "purpose" section (martin) no_mapping_for_unicode (martin)
Line 483: Line 483:
The ''12'' means "EOF" and is sent to indicate a close of the session. The ''15'' means "ping" and is used to [[ui_login_connection#keepalives|keep a session alive]]. The ''12'' means "EOF" and is sent to indicate a close of the session. The ''15'' means "ping" and is used to [[ui_login_connection#keepalives|keep a session alive]].
 +
 +===== [[no_mapping_for_unicode]] No mapping for the Unicode character exists in the target multi-byte code page - The file must be in UTF-8 or UTF-16 encoding. =====
 +
 +You get this error message, when you try to execute a [[scripting#using_scripting|script]] that does not use a valid UTF-8 (or UTF-16) encoding.
 +
 +Older versions of WinSCP used legacy ANSI encoding, when the script file does not have UTF-8 (or UTF-16) byte order mark (BOM). The recent versions of WinSCP default to UTF-8 encoding, when no BOM is present. If you have a script written in ANSI encoding for an old version of WinSCP, you have to convert it to UTF-8 (or UTF-16) encoding, when upgrading to a recent version of WinSCP.
 +
 +A simple way to convert the script encoding is:
 +
 +  * Open the script in Notepad;
 +  * Go to //File > Save As//;
 +  * Change //Encoding// from //ANSI// to //UTF-8//;
 +  * Click //Save//.
===== [[invalid_access_to_memory]] Invalid access to memory ===== ===== [[invalid_access_to_memory]] Invalid access to memory =====

Last modified: by martin