From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: TUTORIAL.bg and windows-1251 Date: Tue, 13 Jan 2004 13:07:25 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200401130407.NAA13705@etlken.m17n.org> References: <3FB52552.6090302@fmi.uni-sofia.bg> <200311170721.QAA11735@etlken.m17n.org> <3FBA3F81.4010602@fmi.uni-sofia.bg> <200311242355.IAA24563@etlken.m17n.org> <3FC45367.6070504@fmi.uni-sofia.bg> <200311260747.QAA27236@etlken.m17n.org> <3FC464C2.7010504@fmi.uni-sofia.bg> <200311261317.WAA27673@etlken.m17n.org> <200312030834.RAA03004@etlken.m17n.org> <3FCF60C9.8060009@fmi.uni-sofia.bg> <200312042328.IAA06933@etlken.m17n.org> <3FF2E5DF.4090906@fmi.uni-sofia.bg> <200401050414.NAA00014@etlken.m17n.org> <3FFC3249.3010501@fmi.uni-sofia.bg> <200401072358.IAA05239@etlken.m17n.org> <3FFED268.3020908@fmi.uni-sofia.bg> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1073968494 18526 80.91.224.253 (13 Jan 2004 04:34:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2004 04:34:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jan 13 05:34:43 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgGGJ-0000Jg-00 for ; Tue, 13 Jan 2004 05:34:43 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgGGI-0001ni-00 for ; Tue, 13 Jan 2004 05:34:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AgHC1-0004u6-8r for emacs-devel@quimby.gnus.org; Tue, 13 Jan 2004 00:34:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AgH2i-0003Dz-Le for emacs-devel@gnu.org; Tue, 13 Jan 2004 00:24:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AgGwp-0001vs-Jn for emacs-devel@gnu.org; Tue, 13 Jan 2004 00:19:11 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AgGwo-0001sD-IO for emacs-devel@gnu.org; Tue, 13 Jan 2004 00:18:38 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by mx20.gnu.org with esmtp (Exim 4.24) id 1AgFxT-0003YW-6i for emacs-devel@gnu.org; Mon, 12 Jan 2004 23:15:15 -0500 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 i0D47Ph18444; Tue, 13 Jan 2004 13:07:25 +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 i0D47Ps02762; Tue, 13 Jan 2004 13:07:25 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id NAA13705; Tue, 13 Jan 2004 13:07:25 +0900 (JST) Original-To: ogi@fmi.uni-sofia.bg In-reply-to: <3FFED268.3020908@fmi.uni-sofia.bg> (message from Ognyan Kulev on Fri, 09 Jan 2004 18:10:16 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19156 In article <3FFED268.3020908@fmi.uni-sofia.bg>, Ognyan Kulev writes: > Just copy&paste in both directions works fine. But how can I be sure > that the text is encoded with microsoft-cp1251, not with iso10646-1? > What program would show the difference? If (encode-coding-string CYRILLIC_STRING 'ctext-with-extensions) produces a string that contains "microsoft-cp1251", it means that Emacs is using microsoft-cp1251 extended seqement in X selection. And if copy&paste works fine, that means that the encoding is in a correct format. >> Please tell me what this returns: >> >> (get-language-info "Bulgarian" 'overriding-fontspec) > ((#^[t nil nil nil nil nil nil nil nil nil nil nil ...] nil . > "microsoft-cp1251") (#^[t nil nil nil nil nil nil nil nil nil nil nil > ...] nil . "koi8-r")) > Is it normal that there are (almost) only nil:s? Yes. >> and the effect of this. >> >> (set-overriding-fontspec-internal >> (get-language-info "Bulgarian" 'overriding-fontspec)) > I see no effect after evaling it :-( That is, cyrillic characters are > still shown in iso10646-1 instead of microsoft-cp1251. (CVS 2004-01-09 > and "emacs -q".) Hmmm strange. What is the result of this? (x-resolve-font-name "*-microsoft-cp1251") --- Ken'ichi HANDA handa@m17n.org