TextDecode

Returns text decoded from container data using the specified character encoding.

Format 

TextDecode ( container ; encoding )

Parameters 

container - any container field with encoded text data.

encoding - the name of the character encoding used in container (see below).

Data type returned 

text

Originated in version 

16.0

Description 

Converts a text file in a container field from the specified character encoding to text using the UTF-16LE encoding that FileMaker Pro files use.

For the encoding parameter, use one of the values defined for the TextEncode function.

Example 1 

TextDecode ( table::container ; "windows-1252" ) returns UTF-16LE-encoded text from the file in a container field that contains text with Windows character encoding.