On Tue, 2017-06-27 at 19:49 -0700, Paul Hardy wrote: > 1) Serving debian-policy pages on Debian servers as UTF-8 documents, > as an interim measure.
I think we would want to do this for all *.txt documents that are UTF-8 and available on the website. First we need the list of UTF-8 encoded text files and then we need an appropriate Apache configuration snippet to be added to the template. https://anonscm.debian.org/cgit/mirror/dsa-puppet.git/tree/modules/roles/templates/apache-www.debian.org.erb I've run these commands on one of the static mirrors, resultsĀ attached. find . -iname *.txt -print0 | xargs -0 isutf8 --list --invert | sort > ~/isutf8.txt find . -iname *.txt -print0 | xargs -0 isutf8 --list | sort > ~/isnotutf8.txt find . -iname *.txt -print0 | xargs -0 file --mime-encoding | sort > ~/mime-encoding.txt Could someone come up with an appropriate Apache configuration snippet? -- bye, pabs https://wiki.debian.org/PaulWise
isnotutf8.txt.gz
Description: application/gzip
isutf8.txt.gz
Description: application/gzip
mime-encoding.txt.gz
Description: application/gzip
signature.asc
Description: This is a digitally signed message part