Re: Bug#865713: Declaring a charset of UTF-8 for policy files

Paul Wise <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Organization Debian
Message-ID <[email protected]>
On Sat, 2017-06-24 at 20:48 -0700, Russ Allbery wrote:

> Can't we just set the character set for the text files that come from
> Debian Policy?  At least with Apache you can set character sets with
> whatever granularity you want.

Doesn't look like there are any files within the Debian Policy
directory that are non-UTF-8, so that should be doable.

pabs@mirror-anu:/srv/static.debian.org/mirrors/www.debian.org/cur$ find -iname '*.txt' -print0 | xargs -0 isutf8 | grep policy
./doc/manuals/ddp-policy/ddp-policy.en.txt: line 1476, char 1, byte offset 22: invalid UTF-8 code

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAllPM8oACgkQMRa6Xp/6
aaPnyg//dDo/kzI+WI/3KkbJ/ZmpgcMs0YKszrejOZ5bZjE+RDnMimuW+8R+/6S6
UMK6Kd9FuM0srX7d5LJSKJwfyUuyEFHwYSatKEcZE3Aop0KbEYDMFlZNEZD4xRGD
jVo5sOKihoGZ+t8OVnDnRXm4QlDiwgwadmceeSxpjAvs09UlBS5GNUxjlznsMZls
SZRR84chRa8Gy2NMe7Its9wOsGixnTplIHNpySoG/UEiOWPo+q8/lOJOJ/kOwmCT
ck0zRP3b+Tp1kQFFFC2fFvFrN91fMR0aZGqHpfe94rwwS5Vuj1xgZfEAyp0PEDEO
v984ZNPwPvOX4h9hLXN0dk9twVkBnT9dM5V041pP3YgPKRrVOD4vPWllMQxvHpEO
x3SvnrCr8ES/k6eKEvq8aoqDComIFc2STWA7ot5ebH6IusGhXtv/Ap207B3Rn3LJ
he/fhPcRW8/UF+2NjuECM+T5BSQsLcV7FLuW5lxqPY+Rcn4luU2On/Rgg82a3MIP
5soESfXckzI/W9r69fIfBLf/tNFiynITVtqsxdv4XlVnfcmfsApgq5SuG3WYmYrf
NrMVMty4zVRxc6GgkGs9lw9wu5dFIkIOjpXt8o9T+3EveYihsQ6i6UkUj9l1Gi3t
Bope4scJTGBC/pP8S2l1kGYVylX7RUmTmc1GWOcBO2BJ3UzEqcA=
=8u04
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.