Package: recode Version: 3.6-22 Followup-For: Bug #748984 The problem with fixing this is that currently recode effectively assumes that the HTML input is ISO-8859-1 encoded; it has no notion of the encoding separate from its being in HTML.
I’m not exactly sure, but it seems to me that HTML (and other similar encodings such as LaTeX) should rather be surfaces. -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-26-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages recode depends on: ii libc6 2.23-0ubuntu10 ii librecode0 3.6-22 recode recommends no packages. recode suggests no packages. -- no debconf information