2. 百分号编码选项 (Percent-Encoding Option)
2. 百分号编码选项 (Percent-Encoding Option)
🇬🇧 英文原文
Within this specification, "percent-encoding" (as defined in [RFC3986]) is offered as a possible way of encoding characters in file names that are otherwise disallowed, including non-ASCII characters, spaces, control characters, and so forth. The encoding is created replacing each non-ASCII or disallowed character with a sequence, where each byte of the UTF-8 encoding of the character is represented by a percent-sign (%) followed by the (case-insensitive) hexadecimal of that byte.
🇨🇳 中文翻译
在本规范中,"百分号编码 (percent-encoding)" (如 [RFC3986] 中定义) 作为一种可能的方式提供,用于编码文件名中原本不允许的字符,包括非 ASCII 字符、空格、控制字符等。编码的创建方式是将每个非 ASCII 或不允许的字符替换为一个序列,其中字符的 UTF-8 编码的每个字节由一个百分号 (%) 后跟该字节的十六进制(不区分大小写)表示。