From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno Tavernier Newsgroups: gmane.emacs.help Subject: Pasting Japanese from X Date: Mon, 01 Nov 2010 22:48:02 +0900 Message-ID: <87pqupnoj1.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: dough.gmane.org 1288619287 17574 80.91.229.12 (1 Nov 2010 13:48:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Nov 2010 13:48:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 01 14:48:03 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PCujx-0007dM-Vb for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Nov 2010 14:48:03 +0100 Original-Received: from localhost ([127.0.0.1]:51760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCujw-0002JH-HB for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Nov 2010 09:48:00 -0400 Original-Received: from [140.186.70.92] (port=33240 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCujY-0002J1-MZ for help-gnu-emacs@gnu.org; Mon, 01 Nov 2010 09:47:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCujX-0003WF-M9 for help-gnu-emacs@gnu.org; Mon, 01 Nov 2010 09:47:36 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:64131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCujX-0003Vt-Jk for help-gnu-emacs@gnu.org; Mon, 01 Nov 2010 09:47:35 -0400 Original-Received: by yxm34 with SMTP id 34so3913175yxm.0 for ; Mon, 01 Nov 2010 06:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=Yf70oYnmItE8V1mJA0ymFaDNvyW53xfAQb8tYCPzd2g=; b=W4YNiq+NkJQcJHB6HB+iqrWCYoFBJMX2fpNUNuGbtxG6GhqYOiBex5FeHqgS+2M1TU kGhzRu8120YclSURtWZcIqbn28MDhj+mUr8UZcGBj5WYTAFKWV84ruQGAiysSfLkPxvp W7iYcGYvBDS0Kgpadp96SU9Rgv6AIAbQ3K8g4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=DW9znx1ANIcOXJaijgJZwWjQcllfuNbbO/btC/GX5POE1Rmmh+QbTuv4+vgj/jw2+H gZHVMdSMLxPViLg0i4QMuUI+4ta+htVsA7DIhXN4DSqZfN3EUcsF1RmSuVjhdxm2ffll 2g17Ui0IW9hjct/GnQ1qiNVVJXSZgcoawGLlY= Original-Received: by 10.42.211.212 with SMTP id gp20mr11009233icb.252.1288619253586; Mon, 01 Nov 2010 06:47:33 -0700 (PDT) Original-Received: from TdM (softbank219185161154.bbtec.net [219.185.161.154]) by mx.google.com with ESMTPS id 8sm8469947iba.22.2010.11.01.06.47.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 01 Nov 2010 06:47:29 -0700 (PDT) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75275 Archived-At: 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) `----