Bug#701081: debian-policy: mandate an encoding for filenames in binary packages
On Sat, Mar 02, 2013 at 01:24:55PM +0100, Bill Allombert wrote:
> I would like to see examples of UTF-8 filenames in source packages that are
> not bugs and do not cause issues with some users before allowing them in
> policy. Policy still allow to use non utf-8 locales.
We have defaulted to UTF-8 locales for over a decade now. Unless
there are compelling reasons not to use UTF-8 locales, maybe we
could perhaps consider retiring them and having everything be
UTF-8 by default at this point. If we do require this in
userspace, then the naming restrictions could also be enforced
in-kernel e.g. with create/open with O_CREAT to disallow non-UTF-8
filename creation. This would bring some much needed sanity to
filename handling, so it's a wider issue than just what's
permitted in packages.
WRT the point about allowing non-UTF-8 filenames for purposes
such as testsuites, if we require UTF-8 across the board, such
tests become unnecessary ;-)
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
Reply to: