Page 1 of 1

TRichEdit with Japanese (and other non roman) characters

Posted: Wed Apr 25, 2012 10:57 pm
by AlecBergamini
We are having problems with our Japanese customers re the TRichEdit/View controls.

This can be duplicated with the delphiUnicode\Editors\Editor 2 demo.


*How to reproduce:
1.Run the above demo
2.Paste machine dependent characters Ⅰ Ⅱ Ⅲ ⅣⅤⅵⅶⅷⅸⅹ etc. )
3.Modify the text with linebreak

other characters you can play with
要度判定基準

When I start entering linebreaks I get random square boxes (sometimes I do, sometimes I don't).

I would appreciate any help
Thanks
Alec

Posted: Sun May 13, 2012 7:10 pm
by Sergey Tkachenko
Sorry for overlooking this post.

And sorry, I cannot reproduce this problem.
(The Roman numerals are displayed as boxes in the most of fonts, because fonts do not have glyphs for these characters; however, after applying "Lucida Sans Unicode" or "Arial Unicode MS", they are displayed correctly).
I pasted these examples from a browser, pressed Enter several times in the middle of text, did some other editing - and still I cannot reproduce the problem.
So I need step-by-step instructions.
Also I need to know versions of Delphi and Windows.