trichview.com

trichview.support




Re: Support Chinese input problem.


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/19/2004 22:57:33


1) Set RVStyle.TextStyles[i].Unicode = True for all i.

All new styles (added when applying new character formattings) are based on

existing styles, so if base styles are Unicode, new styles will be Unicode

as well.

(I assume you use RichViewActions or code from Demos\Delphi\Editors\Editor

2\)


2) Set RichViewEdit.RTFReadProperties=rvruOnlyUnicode to prevent appearing

non-Unicode styles when loading/inserting/pasting RTF.


Now, non-Unicode text styles can appear when you load existing RVF files.

May be this is a reason for your problem?

Styles from RVF file replace existing styles in RVStyle component.

Try not to loading old files before testing.


Or you can convert existing documents to Unicode, see here:

http://www.trichview.com/support/dnewsweb.cgi?cmd=article&group=trichview.support.examples&item=134


>

> Windows is win2000. Can u tell me how to set all style  unicode?






Powered by ABC Amber Outlook Express Converter