trichview.com

trichview.support




Unicode problems


Return to index


Author

Message

Erik Laansoo

Posted: 02/14/2005 22:12:49


Hi Sergey,


We are having some problems with with middle eastern languages and Chinese:


When BiDiMode is set to rvbdUnspecified, text selection in right-to-left

writing languages misbehaves (text inside selection "slides around" when

selecting). Setting BiDiMode to either rvbdLeftToRight or rvbdRightToLeft

fixes this problem, but:


When BiDiMode is set to rvbdLeftToRight, some chinese characters cannot be

selected -- seems like their width is calculated as zero, causing selection

to display incorrectly.


I can work around this by trying to detect reading direction of each

paragraph and using appropriate paragraph styles, but I'd rather not if a

better solution were available.


If my descriptions are unclear, e-mail me and I'll send you a sample program

to illustrate the problems.


Thanks in advance,


Erik





Powered by ABC Amber Outlook Express Converter