[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs clipboard handling for X broken?
From: |
Miles Bader |
Subject: |
Re: emacs clipboard handling for X broken? |
Date: |
Wed, 01 Sep 2004 11:38:25 +0900 |
Werner LEMBERG <address@hidden> writes:
> I tried to paste text from Mozilla 1.6 (build 2004011400) into Emacs,
> and I get e.g. for Chinese instead of `不想睡' the following:
>
> \x{4E0D}\x{60F3}\x{7761}
...
> Is this a known problem? I'm lost and ask for help.
FWIW, I can cut and paste japanese just fine in both directions between
Emacs (started with `-q', so the defaults seem OK) and mozilla-firefox
0.9.3 (I think this roughly corresponds to mozilla 1.7.2).
selection-coding-system's value is `compound-text-with-extensions'.
LANG is set to `ja_JP.UTF-8'.
I've noticed in the past that the setting of LANG is crucial to making
Mozilla do CJK cut-n-paste correctly, and that in general Mozilla is
pretty fucked up in this area -- if LANG is _not_ set `properly', then
it will screw up cut-n-paste.
Here's Mozilla bug report that may be related:
http://bugzilla.mozilla.org/show_bug.cgi?id=137659
-Miles
--
Occam's razor split hairs so well, I bought the whole argument!