- considered non-printable along with ESC and other control chars.
- This is by design: it makes sure that messages from remote servers
- cannot be used to deceive the users by mimicking Wget's output.
- Disallowing non-ASCII characters is another necessary security
- measure, which makes sure that remote servers cannot garble the
- screen or guess the local charset and perform homographic attacks.
-
- Of course, the above means that escnonprint must only be used in
- decidedly ASCII-only context, such as when printing host names,
- responses from HTTP headers, messages coming from FTP servers, and
- the like.
-
- ESCAPE is the character used to introduce the escape sequence.
- BASE should be the base of the escape sequence, and must be either
- 8 for octal or 16 for hex.
+ considered non-printable along with ESC, BS, and other control
+ chars. This is by design: it makes sure that messages from remote
+ servers cannot be easily used to deceive the users by mimicking
+ Wget's output. Disallowing non-ASCII characters is another
+ necessary security measure, which makes sure that remote servers
+ cannot garble the screen or guess the local charset and perform
+ homographic attacks.
+
+ Of course, the above mandates that escnonprint only be used in
+ contexts expected to be ASCII, such as when printing host names,
+ URL components, HTTP headers, FTP server messages, and the like.
+
+ ESCAPE is the leading character of the escape sequence. BASE
+ should be the base of the escape sequence, and must be either 8 for
+ octal or 16 for hex.