Control: tags -1 + confirmed - moreinfo

On 12-Aug-2018, Harald Dunkel wrote:
> Here you go:
> 
> {harri@cecil:~ (master) 501} python3 -c 'import locale; 
> print(locale.getpreferredencoding())'
> ANSI_X3.4-1968

Thank you, that does seem to be a significant difference. I will make
a test case that uses a non-"UTF-8" value for the preferred encoding.

> Shouldn't dput use UTF-8, no matter what? Its beyond my control,
> which encoding is used in a foreign source package.

Yes, Debian packaging files must have text encoded in UTF-8 (and so
that encoding is the only one to use when reading them).

I think it is reasonable to require also the temporary build artefacts
to have text encoded in UTF-8.

So the fact ‘dput’ is not using UTF-8 to read them, is IMO a bug in
‘dput’. Thank you for reporting this.

This requirement is not AFAIK stated explicitly anywhere, but I'm
willing to make that part of the specification. I think updating the
documentation should also be part of resolving this bug.

-- 
 \       “You can never entirely stop being what you once were. That's |
  `\   why it's important to be the right person today, and not put it |
_o__)                                 off until tomorrow.” —Larry Wall |
Ben Finney <bign...@debian.org>

Reply via email to