User Tools

Site Tools


api:dk11:delphi:gisinternals.convertjdbcfieldcp_string_integer

Table of Contents

ConvertJDBCFieldCP method

DK11 for Delphi | GisInternals.ConvertJDBCFieldCP | Enums | Fields | Methods | Types

Perform code page conversion (only if _source is String).

Syntax

// Delphi
function ConvertJDBCFieldCP(
  const _source : String;
  const _sourceCP : Integer
) : Variant;
// C++ Builder
extern DELPHI_PACKAGE Variant* ConvertJDBCFieldCP(
  const UnicodeString _source,
  const int _sourceCP
);

Parameters

Name Type Description
_source String variant to be converted
_sourceCP Integer code page of source String (converted from)

Result

Type Description
Variant Converted JDBC Field.

Remarks

Function will also perform a type casting for types unsupported by variant type.

2019/02/08 01:13