On Fri, Mar 30, 2007 at 06:44:49PM +0200, Egmont Koblinger wrote:
> On Fri, Mar 30, 2007 at 05:17:32PM +0200, Fredrik Jervfors wrote:
> 
> > If Y's computer supports the encoding X used [...]
> 
> Yes, I assumed in my examples that both computers support both encodings.
> Glibc supports all well-known 8-bit character sets since 2.1 (released in
> 1999), Unicode and its transcripts since 2.2 (2000). Fonts are also
> installed on any sane system.

You mean the iconv in glibc?

> > I think clipboards treat the data as bytes,
> 
> Try copy-pasting from a latin1 application to an utf8 app or vice versa and
> you'll see that luckily it's not the case. You'll get the same letters (i.e.
> different byte sequences) in the two apps.

But it doesn’t work the other way around. I’ve tried pasting from an
app respecting locale (UTF-8) into rxvt (with its head stuck in the
Latin-1 sand, no not urxvt) and the bytes of the UTF-8 get interpreted
as Latin-1 characters. :)

It should work, but Latin-1-oriented apps are usually dumb enough that
it doesn’t...

Rich

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to