From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Inserting character =?utf-8?B?J+CuleCvjeCutyc=?= in GNU Emacs Date: Wed, 04 Nov 2015 19:41:50 +0200 Message-ID: <83mvutu0f5.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1446658954 2763 80.91.229.3 (4 Nov 2015 17:42:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2015 17:42:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 04 18:42:25 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zu24m-0001nx-Km for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Nov 2015 18:42:24 +0100 Original-Received: from localhost ([::1]:56318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu24m-0003oA-5b for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Nov 2015 12:42:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu24U-0003la-QY for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 12:42:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu24Q-0002ZS-IO for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 12:42:06 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:43153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu24Q-0002ZN-9d for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 12:42:02 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NXA00100X2GEO00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 19:42:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXA001SWX5SEG00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 19:41:53 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107931 Archived-At: > Date: Wed, 4 Nov 2015 22:43:35 +0530 > From: Shakthi Kannan >=20 > I have fonts-lohit-taml-classical installed on Ubuntu 14.10. I am > trying to input the character '=E0=AE=95=E0=AF=8D=E0=AE=B7' in GNU = Emacs 24.5.1. This > character is a combination of '=E0=AE=95' and '=E0=AE=B7' which are= the only > characters available in Tamil Unicode. >=20 > http://unicode.org/charts/PDF/U0B80.pdf >=20 > If I copy this character '=E0=AE=95=E0=AF=8D=E0=AE=B7' from a UTF-8= website and insert the > same in a file (say, test.txt) using Gedit, it copies fine. I use > Monospace font. I am able to open the same file in GNU Emacs, and i= t > shows the character as '=E0=AE=95=E0=AF=8D=E0=AE=B7'. Using C-u C-x= =3D in this character > displays the following: >=20 > =3D=3D=3D =E0=AE=95=E0=AF=8D=E0=AE=B7 viewed in GNU Emacs =3D=3D= =3D >=20 > position: 2101 of 2106 (100%), column: 0 > character: =E0=AE=95 (displayed as =E0=AE=95) (codepoin= t 2965, #o5625, #xb95) > preferred charset: unicode-bmp (Unicode Basic Multilingual Plan= e > (U+0000..U+FFFF)) > code point in charset: 0x0B95 > script: tamil > syntax: w which means: word > category: .:Base, L:Left-to-right (strong) > to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET= NAME" > buffer code: #xE0 #xAE #x95 > file code: #xE0 #xAE #x95 (encoded by coding system utf= -8) > display: composed to form "=E0=AE=95=E0=AF=8D=E0=AE= =B7" (see below) >=20 > Composed with the following character(s) "=E0=AF=8D=E0=AE=B7" using= this font: > xft:-unknown-Lohit Tamil > Classical-normal-normal-normal-*-17-*-*-*-*-0-iso10646-1 > by these glyphs: > [0 2 0 217 24 -1 22 8 4 nil] >=20 > Character code properties: customize what to show > name: TAMIL LETTER KA > general-category: Lo (Letter, Other) > decomposition: (2965) ('=E0=AE=95') >=20 > There are text properties here: > fontified t >=20 > =3D=3D=3D END =3D=3D=3D >=20 > How can I input this character directly in GNU Emacs? I have a cust= om > layout defined using quail: >=20 > https://github.com/shakthimaan/cask-dot-emacs/blob/master/lib/tam= il-dvorak.el It's not one character, it's 3 characters that get displayed as a single "grapheme cluster". The "Composed with" sentence above shows you the other 2 characters. You need to type them all, one after the other. One way to type them is also shown: "C-x 8 RET" followed by the hex code or name of the character (e.g., "TAMIL LETTER KA").