|
|
|
date: Mon, 12 May 2008 07:37:59 -0700 (PDT),
group: microsoft.public.word.conversions
back
Re: Comma Within Large Numbers - Directionality switches
Hi Paul,
Just a guess: Shouldn't the comma be an Arabic comma (U+060C = \u1548)?
Word seems to have turned it into an ordinary Latin comma (U+002C = ,)
automatically.
The same happens when I insert \u1548 manually in your RTF file, open it in
Word, and save it again.
No idea why that happens, or how to prevent it though, sorry.
Regards,
Klaus
wrote
>I am having a hard time with another RTF string for a complex
> language. This time I am trying to write the number "100,000" in an
> Arabic document. When I save to RTF and then re-open the document in
> Word, the numbers visually switch order, and I see "000,100". The RTF
> seems to be correct in all respects - and WordPad displays it fine. Is
> this a Word bug? Should this RTF be written in some other way?
>
> Please help.
>
> Regards,
>
> Paul
>
> * Here is the sample of RTF generated by Word (I have left only the
> key RTF for brevity): *
>
> {\rtf1\adeflang1025\ansi
> \ansicpg1252\uc1\adeff25\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033
>
> {\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose
> 02020603050405020304}Times New Roman;}
> {\f25\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Latha;}
> {\f451\froman\fcharset238\fprq2 Times New Roman CE;}
> {\f452\froman\fcharset204\fprq2 Times New Roman Cyr;}
> {\f454\froman\fcharset161\fprq2 Times New Roman Greek;}
> {\f455\froman\fcharset162\fprq2 Times New Roman Tur;}
> {\f456\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
> {\f457\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
> {\f458\froman\fcharset186\fprq2 Times New Roman Baltic;}
> {\f459\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
>
> \pard\plain \rtlpar
> \qr \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright
> \rin0\lin0\itap0\pararsid7671979
> \rtlch\fcs1 \af25\afs24\alang1097 \ltrch\fcs0
> \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
> {\ltrch\fcs1 \afs96 \rtlch\fcs0 \f0\fs24\lang12289\insrsid7671979
> \u1633\'31\u1632\'30\u1632\'30,\u1632\'30\u1632\'30\u1632\'30}
> {\ltrch\fcs1 \afs96 \rtlch\fcs0
> \f0\fs24\lang12289\insrsid2320270\charrsid7671979
> \par }}
date: Tue, 13 May 2008 17:07:36 +0200
author: Klaus Linke
|
|