Aller au contenu principal

2. Option d'encodage par pourcentage (Percent-Encoding Option)

2. Option d'encodage par pourcentage (Percent-Encoding Option)

🇬🇧 Texte original anglais

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.


🇫🇷 Traduction française

Dans cette spécification, l'« encodage par pourcentage (percent-encoding) » (tel que défini dans [RFC3986]) est proposé comme moyen possible d'encoder les caractères dans les noms de fichiers qui sont autrement interdits, y compris les caractères non-ASCII, les espaces, les caractères de contrôle, etc. L'encodage est créé en remplaçant chaque caractère non-ASCII ou interdit par une séquence, où chaque octet de l'encodage UTF-8 du caractère est représenté par un signe de pourcentage (%) suivi de l'hexadécimal (insensible à la casse) de cet octet.