Table of Contents

Codeunit Encoding

ID 1486
Namespace: System.Text

Codeunig that exposes encoding functionality.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

Convert

Converts a text from one encoding to another.

procedure Convert(SourceCodepage: Integer, DestinationCodepage: Integer, Text: Text): Text

Parameters

Name Type Description
SourceCodepage Integer

Encoding code page identifier of the source text. Valid values are between 0 and 65535.

DestinationCodepage Integer

Encoding code page identifier for the result text. Valid values are between 0 and 65535.

Text Text

The text to convert.

Returns

Type Description
Text

The text in the destination encoding.

See also