Font name garbled
Posted: Sun Jul 09, 2017 1:59 pm
Clerk hello:
I am useing TRichView16.15 Trial versions, Delphi is V10.2, Set as follows:
TRichViewEdit:
RTFReadProperties.UseCharsetForUnicode = True
RTFReadProperties.CharsetForUnicode = GB2312_CHARSET
RTFReadProperties.TextStyleMode = rvrsAddifNeeded
RTFReadProperties.UnicodeMode = rvruOnlyUnicode
RTFReadProperties.UseHypertextStyles = True
TRVStyle:
DefCodePage = 936 ANSI/OEM - Simplified Chinese (PRC, Singapore)
copies text from MS Word, my RichViewEdit when using paste, if the Chinese content, paste it is font name garbled.
I am useing TRichView16.15 Trial versions, Delphi is V10.2, Set as follows:
TRichViewEdit:
RTFReadProperties.UseCharsetForUnicode = True
RTFReadProperties.CharsetForUnicode = GB2312_CHARSET
RTFReadProperties.TextStyleMode = rvrsAddifNeeded
RTFReadProperties.UnicodeMode = rvruOnlyUnicode
RTFReadProperties.UseHypertextStyles = True
TRVStyle:
DefCodePage = 936 ANSI/OEM - Simplified Chinese (PRC, Singapore)
copies text from MS Word, my RichViewEdit when using paste, if the Chinese content, paste it is font name garbled.