Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Mon, 12 May 2008 07:37:59 -0700 (PDT),    group: microsoft.public.word.conversions        back       


Comma Within Large Numbers - Directionality switches   
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: Mon, 12 May 2008 07:37:59 -0700 (PDT)   author:   unknown

Re: Comma Within Large Numbers - Directionality switches   
Hi Paul,

What version of Word (including Service packs)?

Do you get the same result if you save it as a standard Word document format?

What version of Windows and what is the default regional and language setting ?

What langauges are turned on in the Office language settings tools in
  Start=>Programs=>Microsoft Office=>Microsoft Office tools?

If in Word 2007 what is the setting in
  Office Button=>Word Options=>Advanced=>Show document content=>Numeral ?

If you have a link to  a small RTF file that shows this behavior it could be helpful.
=====================
  >> wrote in message news:5dfa167d-206b-4ad3-87f2-6d4142369ba7@m73g2000hsh.googlegroups.com...
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 }}  >>
-- 

Bob  Buckland  ?:-)
MS Office System Products MVP

  *Courtesy is not expensive and can pay big dividends*
date: Tue, 13 May 2008 03:51:34 -0700   author:   Bob Buckland ?:-\) 75214.226(At Beautiful Downtown)compuserve.com

Re: Comma Within Large Numbers - Directionality switches   
> If you have a link to  a small RTF file that shows this behavior it could 
> be helpful.

Hi Bob,

You can copy the sample given, from first { to last } and save as say 
"test.rtf", Format: Plain text (*.txt).

Klaus
date: Tue, 13 May 2008 16:57:15 +0200   author:   Klaus Linke

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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us