emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs failes to communicate with other X clients


From: Kenichi Handa
Subject: Re: Emacs failes to communicate with other X clients
Date: Tue, 27 May 2003 21:26:40 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Robin Hu <address@hidden> 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
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]