From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs failes to communicate with other X clients
Date: Tue, 27 May 2003 21:26:40 +0900 (JST) [thread overview]
Message-ID: <200305271226.VAA15939@etlken.m17n.org> (raw)
In-Reply-To: <uk7certe8.fsf@knight.6test.edu.cn> (message from Robin Hu on Mon, 26 May 2003 08:42:23 +0000)
In article <uk7certe8.fsf@knight.6test.edu.cn>, Robin Hu <huxw@knight.6test.edu.cn> writes:
> The first attachment is my extension for gbk
> coding. The second is a sample gbk coding file, it helps
> to show copy/paste problems. Hope they can be any help.
Thank you. I loaded your chinese-gbk.el, evaluate this,
(push '("gbk-0" . chinese-gbk) non-standard-icccm-encodings-alist)
and tried your failure example as below (as I don't have an
X client that sends such a data):
(decode-coding-string "\e$(AV1\e%/2\200\210gbk-0\C-b\351F;y"
'compound-text-with-extensions)
It retursn four characters string:
1. chinese-gb2312 (zhi2)
2. chinese-cns11643-5 (can't see because I don't have a gbk font)
3. ';'
4. 'y'
If I encode that string into chinese-gbk, I get this:
"\326\261\351F;y"
Isn't it the correct string?
---
Ken'ichi HANDA
handa@m17n.org
prev parent reply other threads:[~2003-05-27 12:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-23 9:19 Emacs failes to communicate with other X clients Robin Hu
2003-05-23 17:22 ` Eli Zaretskii
2003-05-24 11:10 ` Robin Hu
2003-05-24 17:38 ` Eli Zaretskii
2003-05-26 2:56 ` Robin Hu
2003-05-26 4:54 ` Kenichi Handa
2003-05-26 6:06 ` Robin Hu
2003-05-26 7:09 ` Kenichi Handa
2003-05-26 8:42 ` Robin Hu
2003-05-27 12:26 ` Kenichi Handa [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305271226.VAA15939@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).