trichview.com

trichview.support




Re: Unicode support


Return to index


Author

Message

Pavel

Posted: 02/20/2004 14:31:59


Thank you very much for your help.

Best regards

Pavel


"Sergey Tkachenko" <svt@trichview.com> wrote:

>I received your e-mail.

>So, the problem is in typing characters.

>

>While the component manages Unicode text, Delphi application itself is not

>Unicode. So keyboard events are not Unicode.

>RichViewEdit uses two internal methods for processing keyboard input.

>The first one usually works good with languages having codepage.

>The second one usually works good with languages without codepage.

>Kazakh has a code page (Cyrillic), but the first method does not work for

>special Kazakh characters.

>You can switch to the second method by assigning global variable

>RichViewUnicodeInput := rvuiAlternative;

>This problem will be solved.

>

>

>

>> The most possible reason of '?' apperaring is conversion from Unicode

to

>> ANSI. So I think that for some reasons text is in ANSI encoding.

>>

>> Can you send me a source code of simple project reproducing this problem

>> (may be with this ttf)

>>

>> >

>> > Yes, i use Unicode encoding.

>> > All RVStyle.TextStyles assigned to Unicode = true and

>> RichView.RTFReadProperties.UnicodeMode

>> > = rvruOnlyUnicode.

>> > Regarding characters, they are replaced with '?'.

>> > I Use ttf with unicode support and Kazakh language.

>>

>>

>

>





Powered by ABC Amber Outlook Express Converter