[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701081: debian-policy: mandate an encoding for filenames in binary packages

Le Sun, Feb 24, 2013 at 11:54:01AM +0900, Charles Plessy a écrit :
> Le Sat, Feb 23, 2013 at 08:02:10AM +0100, Helmut Grohne a écrit :
> > 
> > I have to admit, that I am slightly in favour of just copying Fedora's
> > approach. Making distributions more compatible with each other seems
> > like a worthwhile thing to do.
> This could be done by an addition like the following, after section 10.9
> +      <sec id="filenames">
> +       <heading>File names</heading>
> +
> +       <p>
> +         The name of the files installed by binary packages must be encoded in
> +         UTF-8 and should be restricted to ASCII unless there is a justified
> +         need for using other characters.
> +       </p>
> +      </sec>
> By the way, how about directories ?

Related to this, I just found the following in /usr/share/doc/dpkg-dev/triggers.txt.gz.

    Because of the restriction on trigger names, it is not possible to
    declare a file trigger for a directory whose name contains whitespace,
    i18n characters, etc.  Such a trigger should not be necessary.


Charles Plessy
Tsurumi, Kanagawa, Japan

Reply to: