From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jasonr (Jason Rumney) @ f2s.com Newsgroups: gmane.emacs.help Subject: Re: w32 emacs Arabic Date: Wed, 16 Nov 2005 23:10:14 +0000 Organization: freedom2surf Message-ID: References: <5Rzef.9113$2y.5174@newsread2.news.atl.earthlink.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132183050 26854 80.91.229.2 (16 Nov 2005 23:17:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2005 23:17:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 17 00:17:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EcWUp-0005eP-Gf for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Nov 2005 00:15:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EcWUo-00062M-Rw for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2005 18:15:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!news.clara.net!valentin.news.clara.net!peernews.inweb.co.uk!news.freedom2surf.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: i-83-67-23-108.freedom2surf.net Original-X-Trace: news.freedom2surf.net 1132182701 24175 83.67.23.108 (16 Nov 2005 23:11:41 GMT) Original-X-Complaints-To: abuse@freedom2surf.net Original-NNTP-Posting-Date: Wed, 16 Nov 2005 23:11:41 +0000 (UTC) X-Face: .PruP48JRO{Z6Rfz?YkZ>)zR+7!Up"`!1Cvq{fGd)@K; y]C:8r\CrJ^Mj\_U"9*WD2 I#zdK_#tw]y9*Y$?ge&b23Zt7zpknL{)F7Px4DVSY6b9dg[^VtkN-R_$YJ0cL''j[, }O#k{k| User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:xgJ5xghQwsdMVcqxaNCnmS/TsL8= Original-Xref: shelby.stanford.edu gnu.emacs.help:135510 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:31106 Archived-At: "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.