Bug#701081: debian-policy: mandate an encoding for filenames in binary packages
- To: email@example.com
- Subject: Bug#701081: debian-policy: mandate an encoding for filenames in binary packages
- From: Charles Plessy <firstname.lastname@example.org>
- Date: Tue, 13 Aug 2013 08:36:15 +0900
- Message-id: <20130812233615.GA9662@falafel.plessy.net>
- Reply-to: Charles Plessy <email@example.com>, firstname.lastname@example.org
- In-reply-to: <20130406141934.GD8527@yellowpig>
- References: <20130306231213.GD32005@yellowpig> <email@example.com> <20130309015145.GB6856@falafel.plessy.net> <20130316215811.GA8228@yellowpig> <firstname.lastname@example.org> <20130316224019.GA5850@elie.Belkin> <20130406141934.GD8527@yellowpig>
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>
> 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
> 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
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
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
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,
Tsurumi, Kanagawa, Japan