* Thorsten Glaser: " Re: Bug#725788: dh-python: python3.3 setup.py clean fails with UnicodeDecodeError" (Thu, 10 Oct 2013 21:44:12 +0000 (UTC)):
> Piotr Ożarowski dixit: > >>I'm CCing pbuilder maintainers: guys, is there a reason why pbuilder is >>setting LC_ALL to C and not to C.UTF-8? If not, could you reassign > > Setting LC_ALL=C and unsetting LANGUAGE is the only somewhat > portable way to sanitise the environment. > > If you need anything locale-specific, you MUST set the relevant > environment variables (and clean all others) in the debian/rules > file of the package that needs it. > > bye, > //mirabilos Hi Torsten, hi Piotr, thanks a lot for your help on this issue. A question remaining for me is: Is LC_ALL=C really the only way to set a sanitised environment? Why shouldn't C.UTF-8 provide such one (i.e. what is the downside of making it a general setting)? According to Debian Policy 5.1 all control files must be encoded in UTF-8. Shouldn't we expect to package software mainly encoded with UTF-8, if not ASCII? Cheers, Mathias
signature.asc
Description: PGP signature

