From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: MML charset tag regression Date: Sat, 24 May 2003 09:51:49 +0900 (JST) Sender: ding-owner@lists.math.uh.edu Message-ID: <200305240051.JAA10503@etlken.m17n.org> References: <28265A4C-8AFB-11D7-AF98-00039363E640@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1053737445 26136 80.91.224.249 (24 May 2003 00:50:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 00:50:45 +0000 (UTC) Cc: jan.h.d@swipnet.se, emacs-devel@gnu.org, ding@gnus.org, jas@extundo.com Original-X-From: ding-owner+M1358@lists.math.uh.edu Sat May 24 02:50:43 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JNFD-0006nP-00 for ; Sat, 24 May 2003 02:50:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JNGf-00024s-00; Fri, 23 May 2003 19:52:13 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JNGW-00024m-00 for ding@lists.math.uh.edu; Fri, 23 May 2003 19:52:04 -0500 Original-Received: (qmail 97889 invoked by alias); 24 May 2003 00:52:04 -0000 Original-Received: (qmail 97884 invoked from network); 24 May 2003 00:52:03 -0000 Original-Received: from tsukuba.m17n.org (192.47.44.130) by sclp3.sclp.com with SMTP; 24 May 2003 00:52:03 -0000 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h4O0pnu20289; Sat, 24 May 2003 09:51:49 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h4O0pn904175; Sat, 24 May 2003 09:51:49 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA10503; Sat, 24 May 2003 09:51:49 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Wed, 21 May 2003 11:31:50 -0400) 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) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52815 gmane.emacs.devel:14174 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14174 In article , Richard Stallman writes: > Can you write a self-contained statement addressed to the GTK people > requesting them to provide better COMPOUND_TEXT handling, and > explaining more specifically what we need and why? We need that, > I think, to make the case to them. How about this? Please note that I don't know if this is the responsibility of GTK, nor of the underling GDK, nor of each client program. Could you send it (after polishing English) to a proper person/group? This is a strong request. When a selection owner reacts upon the request of type COMPOUND_TEXT and the selection data (text) contains a character that is not encodable by COMPOUND_TEXT, the owner should not replace such a character with '?' nor strip off the charater silently. Instead the owner should send back the XSelectionEvent with the `property' member None. That way, a requester can request the different type, e.g., UTF8_STRING, TEXT. Otherwise, the requester has no way to know that the received data is the correct one or not. This is a less strong request. When a selection owner have to convert Unicode characters to some other legacy charsets (ISO-8859-X, JISX0208, GB2312, etc) upon a request of type COMPOUND_TEXT and there are multiple choices (e.g. some HAN character to JISX0208 or to GB2312), it is better that the owner chooses a charset supported by the current locale with the highest priority. --- Ken'ichi HANDA handa@m17n.org