Package: doc-debian
Version: 6.3
Severity: wishlist
Tags: patch

currently, lynx produces text output on the basis of the locale.  this
means that as the locale differs, the generated .txt files change.
Please see:

I believe the attached patch should resolve the problem.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Index: doc/Makefile
--- doc/Makefile	(revision 10970)
+++ doc/Makefile	(working copy)
@@ -40,7 +40,7 @@
 	wml -i -q $< >$@
 %.txt: %.html
-	lynx -dump -nolist $< >$@
+	LC_ALL=C.UTF-8 lynx -dump -nolist $< >$@
 # These rules are conditioned to the existence of $(WEBWML)
 # so that the package can be built regardless of its existence
Reproducible-builds mailing list

Reply via email to