Bug#701081: debian-policy: mandate an encoding for filenames in binary packages
- To: 701081@bugs.debian.org
- Subject: Bug#701081: debian-policy: mandate an encoding for filenames in binary packages
- From: Charles Plessy <plessy@debian.org>
- Date: Tue, 13 Aug 2013 08:36:15 +0900
- Message-id: <[🔎] 20130812233615.GA9662@falafel.plessy.net>
- Reply-to: Charles Plessy <plessy@debian.org>, 701081@bugs.debian.org
- In-reply-to: <20130406141934.GD8527@yellowpig>
- References: <20130306231213.GD32005@yellowpig> <87wqtljfdr.fsf@windlord.stanford.edu> <20130309015145.GB6856@falafel.plessy.net> <20130316215811.GA8228@yellowpig> <87ehffq9hr.fsf@windlord.stanford.edu> <20130316224019.GA5850@elie.Belkin> <20130406141934.GD8527@yellowpig>
Hello everybody,
in light with the discussion about UTF-8 on the debian-devel mailing list,
I would like to close the issue 701081 about filename encodings.
I reproduce here the addition that has been worded by me, seconded by Jonathan
Nieder and Julian Gilbey, and supported by others.
> <sec id="filenames">
> <heading>File names</heading>
>
> <p>
> The name of the files installed by binary packages in the system PATH
> (namely <tt>/bin</tt>, <tt>/sbin</tt>, <tt>/usr/bin</tt>,
> <tt>/usr/sbin</tt> and <tt>/usr/games/</tt>) must be encoded in
> ASCII.
> </p>
>
> <p>
> The name of the files and directories installed by binary packages
> outside the system PATH must be encoded in UTF-8 and should be
> restricted to ASCII when they can be represented in that character
> set.
> </p>
> </sec>
The last objections were that it does not mandate ASCII for configuration files,
and that the system PATH should not be defined here.
For the system PATH, I think that we can move the definition anytime to a new
dedicated section; it only requires somebody to work on it and propose a
wording. Alternatively, what is in parenthesis above can be turned into a
footnote.
For the configuration files, further restrictions would make some packages
non-compliant, and are not consensual. On the other hand, the proposed patch
respects the current practice, through its general recommendation of ASCII with
a "should".
Unless there are further objections, I will go ahead with the wording above
(or with the parenthesis turned in a footnote).
Have a nice day,
--
Charles Plessy
Tsurumi, Kanagawa, Japan
Reply to: