Control: tag -1 - moreinfo
Hi Julian,
thanks for the prompt feedback!
Julian Gilbey wrote:
> I've tried this in an xterm (xfce4-terminal) and in a console window
> (tty1), both with my default locale (en_GB.UTF-8) and in the C locale,
> and the same happens with all of these combinations. I'm not sure
> how I would determine the character set I'm using, though.
Sometimes the terminal emulator lets you set this. I used an uxterm
and now also tried xfce4-terminal from Wheezy (and then ssh'ed into
the Sid machine for testing), which both use UTF-8 as character set by
default.
Your file, at least how it arrived by mail here, contains an
ISO-Latin-1 character, which shows as circled question mark on an
UTF-8 using terminal if you just do a "cat a.html". (Can you confirm
that for your terminals?)
If the "A" was actually an A with a tilda (e.g. "Ã"), I could imagine
that it happened on a non-UTF-8-terminal (e.g. an xterm started with
"env LANG=C xterm") and links was converting the character to UTF-8
for some reason, but I wasn't able to reproduce it in such a setup
despite my UTF-8 containing prompt then contained a lower-case a with
a tilda ("ã") then.
So even this did not reproduce it for me:
env LANG=C xterm → ssh otherhost → env LANG=C links -dump /tmp/a.html
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]