thespot4sap.com independent sap information
 

get SAP Access - pay monthly

SAP Tutorials    Online SAP Training    SAP CBT's    Forums    SAP Articles    SAP Jobs    Resumes
  SAP Access    SAP Blogs    SAP Books     Links     Vendor Directory     Submit Content    Search
Previous posts in SAPscript
Page 925 of 5524

Somehow I just get a Visual of the Logical Song (as sung by Supertramp)

Blogger : MSDN Blogs
All posts : All posts by MSDN Blogs
Category : SAPscript
Blogged date : 2008 Mar 29

The question seemed so simple (as it usually does):

Could you please explain me: why when I have the Arabic (Saudi Arabia) locale then the full date time format (“dddd, MMMM dd, yyyy HH:mm:ss”) actually looks as “dd tt hh:mm:ss MMMM, yyyy”. And opposite if conversation was done with the "dd tt hh:mm:ss MMMM, yyyy" pattern the result starts with substring "dd MMMM, yyyy"? Thanks for your attention.

Luckily sometimes the answer is simple, too! :-)

Let's take a look at this locale in Regional and Language Options, like right here:

and hit that Customize this format... button to get to the detail dialog about date formats.

Believe it or not, this is expected -- it is basically something you can look at two different ways, both of which are technically valid (though the second is probably "more" valid!):

The format strings themselves are using Latin script characters, which are always going to be normally used in a left-to-right context, while in the case of Arabic the actual string that has been formatted and which includes Arabic text will be displayed in a right-to-left context. So what appears on the surface to be a "reversed" string is actually just at RTL formatted string based on an LTR format string.

The format strings themselves are in logical order, which is always left-to-right and independent of how the final strings would be visibly displayed, while the formatted string in a language like Arabic will be displayed in a visual order that will be right-to-left.

So nothing is really in the wrong order, and things are mostly behaving as they are designed to.

I'll talk about when things get a little weird in a new blog some day.... :-)

 

This blog sponsored by ? (U+063a, aka ARABIC LETTER GHAIN)


Read comments or post a reply to : Somehow I just get a Visual of the Logical Song (as sung by Supertramp)
Page 925 of 5524

Newest posts
New Page 1

 

 

About Us   Contact Us   Privacy   Disclaimer   Feedback   Email Discussion   Newsletter  

Copyright © - Independent SAP Information
Learn XML, Guesthouses and B&B's