|Top Previous Next|
A default code page used inside TRichView for automatic conversions of ANSI strings to Unicode and vice versa
property DefCodePage: TRVCodePage;
(Introduced in version 1.4)
This property defines the code page (language) which will be used for ANSI<->Unicode conversions.
Usually, if conversion includes only one TRichView text item, the code page for conversion is defined by the character set of the text style. If the conversion is performed on a block of text consisting of several items, TRichView gets a code page for the conversion from this property.
Note: there is a special property editor for this property allowing to select code page from dropdown list.
0 (Windows default code page, CP_ACP)
TRichView © trichview.com