windows10 ftp 451 No mapping for the unicode character exists in the target multi-byte code page

windows10 ftp 451 No mapping for the unicode character exists in the target multi-byte code page

When using the company's ftp server, there is a problem with uploading the folder, but it cannot always be reproduced. The problem package error is as follows:

451 No mapping for the unicode character exists in the target multi-byte code page

The reason for this problem is that there are both English files and Chinese-named files in the folder, which leads to errors in windows recognition.

Solution:

1. Modify the server configuration
insert image description here

And it is indeed server’s configuration issue. By changing the Allow UTF8 fro True to False in the Advanced Setting

This is a problem that the server's configuration is inconsistent with the client's encoding. In the advanced settings, the problem can be solved by changing the allowable UTF8 to true or false. My opening here is true, and there is no problem after changing it to false.

2. Modify the client configuration (take FileZilla as an example)

  1. Start FileZilla.
  2. This article uses FileZilla as an example, and the operation methods of other FTP clients are similar.
  3. On the top menu bar, choose File > Site Manager.
  4. In the selection record area of ​​the pop-up Site Manager dialog box, left-click the site that reported the error.
  5. Click the Character Set tab, select Mandatory UTF-8 (U), and click Connect.
    insert image description here

deeper reason

The underlying reason for this problem is that
the Windows system in China uses Simplified Chinese encoding.
Enter the following command in cmd to view the default encoding set of the system:

C:\Users\Administrator>chcp
活动代码页: 936

My active codepage is 936 which means "China - Simplified Chinese (GB2312)"

Explanation: The code page is an alias of "character set encoding", and some people call it "internal code table".

下面列出了所有支持的代码页及其国家(地区)或者语言:
代码页 国家(地区)或语言
437 美国
708 阿拉伯文(ASMO 708)
720 阿拉伯文(DOS)
850 多语言(拉丁文 I)
852 中欧(DOS) - 斯拉夫语(拉丁文 II)
855 西里尔文(俄语)
857 土耳其语
860 葡萄牙语
861 冰岛语
862 希伯来文(DOS)
863 加拿大 - 法语
865 日耳曼语
866 俄语 - 西里尔文(DOS)
869 现代希腊语
874 泰文(Windows)
932 日文(Shift-JIS)
936 中国 - 简体中文(GB2312)
949 韩文
950 繁体中文(Big5)
1200 Unicode
1201 Unicode (Big-Endian)
1250 中欧(Windows)
1251 西里尔文(Windows)
1252 西欧(Windows)
1253 希腊文(Windows)
1254 土耳其文(Windows)
1255 希伯来文(Windows)
1256 阿拉伯文(Windows)
1257 波罗的海文(Windows)
1258 越南文(Windows)
20866 西里尔文(KOI8-R)
21866 西里尔文(KOI8-U)
28592 中欧(ISO)
28593 拉丁文 3 (ISO)
28594 波罗的海文(ISO)
28595 西里尔文(ISO)
28596 阿拉伯文(ISO)
28597 希腊文(ISO)
28598 希伯来文(ISO-Visual)
38598 希伯来文(ISO-Logical)
50000 用户定义的
50001 自动选择
50220 日文(JIS)
50221 日文(JIS-允许一个字节的片假名)
50222 日文(JIS-允许一个字节的片假名 - SO/SI)
50225 韩文(ISO)
50932 日文(自动选择)
50949 韩文(自动选择)
51932 日文(EUC)
51949 韩文(EUC)
52936 简体中文(HZ)
65000 Unicode (UTF-7)
65001 Unicode (UTF-8)

This is the end of today's sharing

Welcome to like and comment

insert image description here

Guess you like

Origin blog.csdn.net/nings666/article/details/131757749