all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruno Tavernier <tavernier.bruno@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Pasting Japanese from X
Date: Mon, 01 Nov 2010 22:48:02 +0900	[thread overview]
Message-ID: <87pqupnoj1.fsf@gmail.com> (raw)

Hello,

When I try to paste some Japanese from an X application, for instance
Firefox, to an Emacs buffer running in its own X windows, I get
gibberish character (probably unicode).
However it works fine when I paste into an Emacs buffer running in a terminal...

From firefox -> xterm or urxvt
,----
| 日本 -> 日本
`----

From firefox -> emacsclient -t
,----
| 日本 -> 日本
`----

From firefox -> emacsclient -c
,----
| 日本 -> \u65e5\u672c
`----

How to solve this?


-- 
Bruno

Some infos:

`locale`
,----
| LANG=en_US.UTF-8
| LC_CTYPE="en_US.UTF-8"
| LC_NUMERIC="en_US.UTF-8"
| LC_TIME="en_US.UTF-8"
| LC_COLLATE="en_US.UTF-8"
| LC_MONETARY="en_US.UTF-8"
| LC_MESSAGES="en_US.UTF-8"
| LC_PAPER="en_US.UTF-8"
| LC_NAME="en_US.UTF-8"
| LC_ADDRESS="en_US.UTF-8"
| LC_TELEPHONE="en_US.UTF-8"
| LC_MEASUREMENT="en_US.UTF-8"
| LC_IDENTIFICATION="en_US.UTF-8"
| LC_ALL=en_US.UTF-8
`----

`Xorg -version`
,----
| X.Org X Server 1.9.0
| Release Date: 2010-08-20
| X Protocol Version 11, Revision 0
| Build Operating System: Linux 2.6.34-ARCH i686 
| Current Operating System: Linux TdM 2.6.35-ARCH
`----

x-select-enable-clipboard
,----
| Its value is t
`----

x-select-request-type
,----
| Its value is nil
| The value nil is the same as this list:
|   (UTF8_STRING COMPOUND_TEXT STRING)
`----



             reply	other threads:[~2010-11-01 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 13:48 Bruno Tavernier [this message]
2010-11-01 14:29 ` Pasting Japanese from X Štěpán Němec
2010-11-02  2:33   ` Bruno Tavernier
2010-11-01 16:27 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqupnoj1.fsf@gmail.com \
    --to=tavernier.bruno@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.