Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 21:35:20 -0600
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        Michael Ross <gmx@ross.cx>, freebsd-questions@freebsd.org
Subject:   Re: "Unprintable" 8-bit characters
Message-ID:  <20111108213520.535c52d8@cox.net>
In-Reply-To: <20111108202418.05081f25@cox.net>
References:  <20111108184236.3a78ebf6@cox.net> <op.v4nor5dhg7njmm@michael-think> <20111108202418.05081f25@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Nov 2011 20:24:18 -0600
"Conrad J. Sabatier" <conrads@cox.net> wrote:

> Even more confusing, selecting the character and copying it to the
> clipboard, the UTF-16 representation (0xfc) is what actually gets
> used.  Pasting this single-byte version into an X terminal (any of
> them: xterm, gnome-terminal, etc.) does display the correct character,
> an umlauted "u", even if using an 8-bit locale, such as UTF-8.
> Majorly confusing!

Just realized on reading this how weird it sounds.  What I was getting
at here was that the (single-byte) UTF-16 code displays the correct
character in a UTF-8 locale, even though the UTF-8 code for the
character is supposedly a 2-byte sequence.

Anyway, enough about that.  I've managed to get the results I was
hoping for now, so I'm satisfied.  :-)

Thanks again for all the responses.

-- 
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111108213520.535c52d8>