unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Pasting Japanese from X
@ 2010-11-01 13:48 Bruno Tavernier
  2010-11-01 14:29 ` Štěpán Němec
  2010-11-01 16:27 ` Peter Dyballa
  0 siblings, 2 replies; 4+ messages in thread
From: Bruno Tavernier @ 2010-11-01 13:48 UTC (permalink / raw)
  To: help-gnu-emacs

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)
`----



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-02  2:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 13:48 Pasting Japanese from X Bruno Tavernier
2010-11-01 14:29 ` Štěpán Němec
2010-11-02  2:33   ` Bruno Tavernier
2010-11-01 16:27 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).