unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <ecinmn@peoplepc.com>
Subject: Re: w32 emacs Arabic
Date: Fri, 18 Nov 2005 17:51:41 GMT	[thread overview]
Message-ID: <Nwoff.10010$2y.8689@newsread2.news.atl.earthlink.net> (raw)
In-Reply-To: uek5gjijt.fsf@jasonrumney.net


<jasonr (Jason Rumney) @ f2s.com> wrote in message
news:uek5gjijt.fsf@jasonrumney.net...
> "B. T. Raven" <ecinmn@peoplepc.com> 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

>

      reply	other threads:[~2005-11-18 17:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16  5:55 w32 emacs Arabic B. T. Raven
2005-11-16  6:34 ` Eli Zaretskii
2005-11-16 22:57 ` Jason Rumney
2005-11-16 23:10 ` Jason Rumney
2005-11-18 17:51   ` B. T. Raven [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Nwoff.10010$2y.8689@newsread2.news.atl.earthlink.net' \
    --to=ecinmn@peoplepc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).