Issue 14590

Summary: LTR text ending with punctuation in RTL paragraph misordered
Product: Internationalization Reporter: karouri <karouri>
Component: BiDiAssignee: Dieter.Loeschky
Status: CLOSED DUPLICATE QA Contact: issues@l10n <issues>
Severity: Trivial    
Priority: P3 CC: hippytrail, issues
Version: OOo 1.1 Beta   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description karouri 2003-05-18 15:48:11 UTC
When you write the English 'C++' or anything ending in +-*/,!@#$%^ among other 
characters these characters take the place to the left of the characters 
before, like '++C', while the opposite is meant. If you try to write a smiley 
in English like :-) within an RTL paragragh you get (-:   which is the arabic 
counterpart!
Comment 1 stephan_schaefer 2003-05-28 15:38:26 UTC
This is the correct behaviour. Weak characters (like '+') are always
written in the current writing direction, ie, to the left when you are
in an LTR paragraph. As soon as they are enclosed in unique scripts,
the direction is known and they are reversed. First type C++ and then
D, as a result ++C will change to C++D.
Because there is no portable way to obtain the current input language,
there is no hint available to decide what the user might have meant.
Comment 2 stephan_schaefer 2003-05-28 15:39:51 UTC
closing
Comment 3 sforbes 2003-07-28 16:23:59 UTC
Can you please re-evaluate this?

* This is diffrent behavier then almost Hebrew applications, thus
writing it the way you suggested is non-intutitive and "feels" like a
bug to the users.

* Exachanging file with pother applications make this text brake, as
OO treats these type of combiantions diffrent then almost anyone else.

As other applications (mozilla on multiple platforms, word on windows,
Mellel on mac os, kde on linux for a few examples) do this properly ,
apprently this can be done.
Comment 4 frank.meies 2003-08-15 08:49:27 UTC
FME: Set this to duplicate of #i18024#

*** This issue has been marked as a duplicate of 18024 ***
Comment 5 Dieter.Loeschky 2003-08-20 10:59:13 UTC
DL: Closed.