Community
Participate
Working Groups
Build date: m5a OS: all Steps to recreate problem: 1. Create a new file (Go to file -> New -> File and follow the wizard to create it). 2. Double click on the file to open it. 3. Write an Arabic word and then write some numbers. Expected output: Numbers are represented in National digits. Actual output: Numbers are represented in Nominal digits Remark: This happens in all editors.
see bug 81834 comment 2. *** This bug has been marked as a duplicate of 81834 ***
This bug is not duplicate of 81834. It is totally separate problem. Reopening...
(In reply to comment #2) > This bug is not duplicate of 81834. It is totally separate problem. > Reopening... > the fix for bug 81834 provides numeric substitution when: 1. In the control panel, under regional and language options, the value for 'Use natives digits' is set to context or native, and standard digits set to Arabic. In another words, the locale is set to, for example, Arabic (Egypt) 2. the control is created with the SWT.RIGHT_TO_LEFT flag. The first requirement I cannot change. Do you want me to change the code so national digit substitution happens when the controls are created with SWT.LEFT_TO_RIGHT was well ?
Fixed in HEAD > 20090911 StyledText will perform digits substitution on the same case when as the native Text control.