Alexy Khrabrov <braver <at> pobox.com> writes:
> Now, *why* does %{charset} feel obliged to add the single quotes,
> expanding to 'koi8-r'?
Even if that is the case, elinks seems to be happy with the quoted value.
text/html;/usr/bin/elinks -eval "set document.codepage.assume = %{charset}"
-dump -dump-charset koi8-r %s;copiousoutput
[I added -dump-charset because my $LANG is ru_RU.KOI8-R].