<br><font size=2 face="sans-serif">P.S. By "2 code pages" I meant *ANSI* code pages, of course..</font>
<br>
<br><font size=2 face="sans-serif">Lina</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Hi,</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
At least 2 code pages contain a couple of BiDi control characters:</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
* Left-to-Right Mark (LRM) and Right-to-Left Mark (RLM) present in both 1255 and 1256 code pages (0xFD and 0xFE);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
* Zero Width Non-Joiner (ZWNJ) and Zero Width Joiner (ZWJ) -- in cp1256 (0x9D and 0x9E).</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
Lina</font><font size=3 face="Times New Roman"> <br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=1%>
<td width=32%><font size=1 face="sans-serif"><b>Shachar Shemesh <wine-devel@sun.consumer.org.il></b></font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
Sent by: wine-devel-admin@winehq.com</font><font size=3 face="Times New Roman"> </font>
<p><font size=1 face="sans-serif">14/04/02 09:50 </font><font size=1 face="Arial (Arabic)">�</font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
Please respond to Shachar Shemesh</font><font size=3 face="Times New Roman"> </font>
<td width=65%><font size=1 face="Arial"> </font><font size=1 face="sans-serif"><br>
To: Francois Gouget <fgouget@free.fr></font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
cc: Andriy Palamarchuk <apa3a@yahoo.com>, Geoffrey Hausheer <i8e7fkwmsl1@phracturedblue.com>, wine-devel@winehq.com</font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
Subject: Re: Regression tests, UNICODE vs ASCII</font><font size=3 face="Times New Roman"> <br>
</font><font size=1 face="Arial"><br>
</font></table>
<br><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Courier New"><br>
One thing you may try are the explicit BiDi specifiers (Right to left, <br>
left to right etc.). These are Unicode characters designed to explicitly <br>
specify the direction of otherwise amigious characters.<br>
<br>
Ansii does not have, to the best of my knowledge, an equivalent encoded <br>
characters.<br>
<br>
Shachar<br>
<br>
<br>
Francois Gouget wrote:<br>
<br>
>On Mon, 8 Apr 2002, Andriy Palamarchuk wrote:<br>
><br>
>>A couple comments:<br>
>>1) it is useful to check intermixed API calls, like<br>
>>A->W->A to be sure they do conversions correctly.<br>
>>2) while testing W functions use some Unicode symbols<br>
>>which do not have corresponding ASCII symbols.<br>
>><br>
><br>
> Could you give a couple examples of these Unicode symbols? I know<br>
>that I would be hard-pressed to make up a Unicode string with anything<br>
>significant. But if I had an example to base my code on, integrating it<br>
>into my own tests should be trivial.<br>
><br>
>--<br>
>Francois Gouget fgouget@free.fr http://fgouget.free.fr/<br>
> 1 + e ^ ( i * pi ) = 0<br>
></font><font size=3 face="Times New Roman"><br>
</font>
<br>
<br>
<br>
<br>