Print Page | Close Window

Right to Left bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2022
Printed Date: 17 November 2024 at 3:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Right to Left bug
Posted By: Spyder
Subject: Right to Left bug
Date Posted: 24 March 2005 at 12:23am
When running on a system that has the RTL language pack installed, english text with brackets appears incorrectly.

This may just be a weird side effect of BiDi systems, since it also happens in the form caption; but this may also be caused by the way CodeJock appears to recommend enabling RTL support via Windows APIs.

I have attached a copy of the ScribbleMultiLang example, with a few strings hard-coded to english. Load the sample, then select "Arabic" from the language menu.

On a regular Windows system, everything appears fine. But install the language pack, and the problem appears.

uploads/Spyder/2005-03-24_001054_ScribbleMultiLang.zip - 2005-03-24_001054_ScribbleMultiLang.zip


To install the language pack (requires the windows CD):
On WinXP:
Control panel -> regional and language options -> languages tab

Under "Supplemental language support", ticking either checkbox will show the problem.


On Win2K:
Control panel -> regional options -> general tab

In the list of languages select Arabic.



Replies:
Posted By: Oleg
Date Posted: 25 March 2005 at 1:59am
Can you attach screenshot what problem do you see?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Spyder
Date Posted: 28 March 2005 at 5:55pm
Sorry, I should have thought of that :)


Here's what I see:


Posted By: Spyder
Date Posted: 31 March 2005 at 1:30am
I ended up fixing this one by adding an RTM character (unicode character 200f) before the first "(" which seems to fix the problem. It leaves the combobox with a "?" character in it on english systems, but works fine on a full arabic windows.


Posted By: Oleg
Date Posted: 06 April 2005 at 4:34am

I think it is bug of english systems.

Check Caption of bitmap you attached - it has same problem.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Spyder
Date Posted: 06 April 2005 at 6:04pm
The only "bug" is in how the windows RTL engine handles brackets in relation to english text in an RTL string. Luckily windows reacts properly to the LRM and RLM characters so I was able to work around the issue.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net