Ft_character_set – Kofax DM API User Manual
Page 391

DM API T
OKENS
371
%FT_CHARACTER_SET
%FT_CHARACTER_SET
This token is used to specify a character set for documents rendered in
HTML format.
Syntax
PCDGetDoc.AddSearchCriteria( _
“%FT_CHARACTER_SET”, intCharSetID)
Parameters
Usage
Because of the way the bits are set, the character set ID number is
usually shown as a hexadecimal number. For example, to render HTML
in Japanese, set the character-set ID to
0x13A40000
. The setting for
Korean is
0x13B50000
.
Example
'Create a doc object.
pGetDoc = CreateObject("PCDClient.PCDGetDoc.1")
'Check for errors.
checkErrorPortal( pGetDoc )
'Set the DM security token.
pGetDoc.SetDST(strDST)
'Specify the character set.
pGetDoc.AddSearchCriteria("%FT_CHARACTER_SET", code)
'Execute the search.
pGetDoc.Execute()
%FT_CHARACTER_ SET
The token identifier that indicates this
command statement contains a
character set value.
intCharSetID
The number that identifies the character
set that is to control how HTML
documents are rendered.