WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Comma Within Large Numbers - Directionality switches

 
   Home -> Office -> Conversions RSS
Next:  Conversions: Convert word doc file to excel so column contents can be t..  
Author Message
pswillies

External


Since: May 12, 2008
Posts: 1



(Msg. 1) Posted: Mon May 12, 2008 7:37 am
Post subject: Comma Within Large Numbers - Directionality switches Add to elertz
Archived from groups: microsoft>public>word>conversions (more info?)

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 }}
Back to top
Login to vote
Bob Buckland ?:-)

External


Since: Aug 23, 2005
Posts: 2758



(Msg. 2) Posted: Tue May 13, 2008 3:51 am
Post subject: Re: Comma Within Large Numbers - Directionality switches Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.
=====================
>><pswillies DeleteThis @gmail.com> 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 ?Smile
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
Back to top
Login to vote
Klaus Linke

External


Since: Dec 18, 2003
Posts: 672



(Msg. 3) Posted: Tue May 13, 2008 4:57 pm
Post subject: Re: Comma Within Large Numbers - Directionality switches Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> 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
Back to top
Login to vote
Klaus Linke

External


Since: Dec 18, 2003
Posts: 672



(Msg. 4) Posted: Tue May 13, 2008 5:07 pm
Post subject: Re: Comma Within Large Numbers - Directionality switches Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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


<pswillies DeleteThis @gmail.com> 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 }}
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Conversions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET