1 |
>>>>> On Tue, 21 Nov 2017, Michał Górny wrote: |
2 |
|
3 |
> All paths specified in the Manifest file must consist of characters |
4 |
> corresponding to valid UTF-8 code points excluding the NULL character |
5 |
> (``U+0000``), the backwards slash (``\``) and characters classified |
6 |
> as whitespace in the current version of the Unicode standard |
7 |
> [#UNICODE]_. It is an error to use Manifest files in directories |
8 |
> containing files whose names contain the disallowed characters. |
9 |
> The forward slash (``/``) must be used as path separator. |
10 |
|
11 |
In addition to whitespace, you should also exclude C0 controls (U+0000 |
12 |
to U+001F), DEL (U+007F), and C1 controls (U+0080 to U+009F). |
13 |
|
14 |
Rationale, these control characters can leave the user's terminal |
15 |
in an unusable state when a package manager tries to output such a |
16 |
filename in a message. As you reserve the backslash for a future |
17 |
escape mechanism, this shouldn't be a too severe restriction. |
18 |
|
19 |
Ulrich |