From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: w32 emacs Arabic Date: Fri, 18 Nov 2005 17:51:41 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <5Rzef.9113$2y.5174@newsread2.news.atl.earthlink.net> 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 1132357781 8565 80.91.229.6 (18 Nov 2005 23:49:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2005 23:49:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 00:49:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1EdASL-0008QD-00 for ; Fri, 18 Nov 2005 18:55:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdASK-0000Yw-45 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Nov 2005 12:55:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!207.69.154.102.MISMATCH!elnk-atl-nf2!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 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-NNTP-Posting-Host: 4.159.167.146 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.news.atl.earthlink.net 1132336301 4.159.167.146 (Fri, 18 Nov 2005 09:51:41 PST) Original-NNTP-Posting-Date: Fri, 18 Nov 2005 09:51:41 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:135551 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31153 Archived-At: wrote in message news:uek5gjijt.fsf@jasonrumney.net... > "B. T. Raven" writes: > > > What is the relation between codepages in cp*.nls files and their > > definitions in emacs? > > I initially interpreted this only in the context of Arabic, but I see > on re-reading it is an independant question. > > The codepage definitions in Emacs allow Emacs to convert to/from its > internal encoding to Windows and DOS codepages. > > The cp*.nls files in your SYSTEM directory are what Windows uses to > convert to/from its internal encoding (a Unicode variant) and those > codepages. > > Emacs depends on the nls files only for display on Windows, and > really only for historical reasons, since Emacs' Unicode support is > probably good enough now (in CVS) to convert directly to Unicode > without going via the Windows API MultiByteToWideChar() function. Thanks, Eli and Jason. I guess I'm not surprised that this deucedly difficult problem hasn't been straightened out yet. For those of you who haven't seen right-to-left languages imbedded in left-to-right ones, try running the cursor (via the left and right arrow keys) over the following lines: Now is the time for all good men يَجِبُ عَلَى الإنْسَانِ أن يَكُونَ أمِيْنَاً وَصَادِقَاً مَعَ نَفْسِهِ وَمَعَ أَهْلِهِ وَجِيْرَانِهِ وَأَنْ يَبْذُلَ to come to the aid of the typist. كُلَّ جُهْدٍ فِي إِعْلاءِ شَأْنِ الوَطَنِ وَأَنْ يَعْمَلَ عَلَى مَا يَجْلِبُ السَّعَادَةَ لِلنَّاسِ . ولَن Four score and seven years ago يَتِمَّ لَهُ ذلِك إِلا بِأَنْ يُقَدِّمَ المَنْفَعَةَ العَامَّةَ عَلَى المَنْفَعَةِ الخَاصَّةِ وَهذَا مِثَالٌ لِلتَّضْحِيَةِ . "sdrowkcab sdrawkcab si sihT" It works in Outlook Express under MS Windows anyway. But not to worry, whatever Bill Gates can do Richard Stallman can do better. Thanks again, Ed >