From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Re: Arabic support Date: Thu, 02 Sep 2010 08:00:30 -0400 Message-ID: References: <83bp8oml9c.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1283428847 22852 80.91.229.12 (2 Sep 2010 12:00:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 12:00:47 +0000 (UTC) To: handa@m17n.org, emacs-bidi@gnu.org, emacs-devel@gnu.org, jasonr@gnu.org Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Thu Sep 02 14:00:43 2010 Return-path: Envelope-to: gnu-emacs-bidi@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Or8TA-0008Qw-0t for gnu-emacs-bidi@m.gmane.org; Thu, 02 Sep 2010 14:00:41 +0200 Original-Received: from localhost ([127.0.0.1]:32798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or8T9-0002OA-4V for gnu-emacs-bidi@m.gmane.org; Thu, 02 Sep 2010 08:00:39 -0400 Original-Received: from [199.232.76.173] (port=34796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or8T4-0002NB-Ia for emacs-bidi@gnu.org; Thu, 02 Sep 2010 08:00:34 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Or8T3-0002fF-4r for emacs-bidi@gnu.org; Thu, 02 Sep 2010 08:00:34 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37469) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Or8T2-0002f7-QH; Thu, 02 Sep 2010 08:00:33 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Or8T0-0004zO-EO; Thu, 02 Sep 2010 08:00:30 -0400 In-reply-to: (message from Eli Zaretskii on Thu, 02 Sep 2010 07:53:15 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of Emacs support for multi-directional text." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bidi:797 gmane.emacs.devel:129583 Archived-At: And another question: AFAIU, an LGSTRING specifies characters as Unicode codepoints, while the Windows Uniscribe APIs expect wchar_t wide characters, which on Windows means UTF-16. This means we should encode the codepoints in LGSTRINGs to UTF-16 before passing them to Uniscribe, rather than passing them unaltered, right? The current code will break for characters whose Unicode codepoints are beyond the BMP, right?