Encoding        Set the server-side file name encoding

Top  Previous  Next

Syntax:

ENCODING

[ encoding ]

Alt Syntax:

ENCODING

 

Arguments:

[ encoding ]

Variable or string that specifies an encoding name.

 

 

 

Options:

none

 

 

 

This script command sets the server-side character encoding for file names.  Some servers may not use a standard character encoding scheme such as ASCII or UTF-8, and moreover, may not communicate the encoding scheme that they use back to Robo-FTP. Therefore, when files are transferred to and from such servers, the resulting file names may contain incorrect characters. If you encounter such a server and know or can guess what encoding the server is using, you can use this command to ensure that the file names are interpreted correctly.

 

When invoked without an argument, the ENCODING command resets the encoding to the default.

 

Consider the following example that specifies that the server is using the UTF-8 encoding:

 

   ENCODING "UTF-8"   ; effectively same as ENCODING

 

Consider the following example that specifies that the server is using the SJIS encoding:

 

   ENCODING "SJIS"

 

Consider the following example that resets the encoding to the default:

 

   ENCODING