From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Edward Casey" Newsgroups: gmane.emacs.help Subject: Re: gnu emacs w32 & unicode Date: Wed, 30 Jun 2004 09:58:21 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <10e5l8qd2csac27@corp.supernews.com> References: <10e19ng3obubc69@corp.supernews.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088607817 22941 80.91.224.253 (30 Jun 2004 15:03:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Jun 2004 15:03:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 30 17:03:28 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfgcR-0001ve-00 for ; Wed, 30 Jun 2004 17:03:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfgeA-0005T6-9D for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jun 2004 11:05:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-hog.berkeley.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 50 Original-Xref: shelby.stanford.edu gnu.emacs.help:124039 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.emacs.help:19372 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19372 [Note: view with UTF-8 encoding] wrote in message news:uwu1qyf6i.fsf@jasonrumney.net... > "Edward Casey" writes: > > > Has anyone out there using i386-mingw (21.3.1) successfully input unicode > > characters into buffers and saved them to files? I can see the Latin.4 > > characters in the read only "List Character Sets" buffer, and can > > copypaste them into *scratch*, but I can't seem to produce them whatever > > combination of language environment, input methods, and coding systems I > > use. I suspect a font problem but I have about 200 different TT fonts in > > \windows\fonts and I know many of them have the glyphs for Latin-4 > > (Extended A), certainly Arial Unicode MS and Courier. Can anyone give me a > > fail-safe recipe to input these characters? > > C-u C-\ latin-4-postfix > > Then type the combination of characters that is needed to compose the > character you want (eg o-) > > But that won't give you Unicode. For that, you will need Emacs from > CVS AFAIK. > Thanks, Jason. That works. Now I can even get the characters "āēīōūĀĒĪŌŪ" (should be macroned vowels under UTF-8 encoding) out to a UTF-8 file. This I can get into MSWord but not directly into OpenOffice. I would like to avoid non-copylefted software. The mule status to accomplish this is: Multi-byte status "default t, current buffer t,"terminal coding "emacs-mule," language environment "Latin-4," and, as you say, default input method "latin-4-postfix." Now I'm wondering if running the Lisp routine that is the goal of all this setting up of the environment will be possible. Is a form like: ((eq c ?A) (delete-char) (insert ?Ā)) a legal lisp expression or is it necessary to use some escape sequence with hex codes to represent a litteral unicode character outside the ascii range? Anyway, Thanks again, Ed