TextEncoding.Windows

Updated on

TextEncoding.Windows (1252) is an enumeration that specifies the text encoding type. It is a member of the TextEncoding.Type and specifies to use the Windows binary form.

Examples

Here’s a simple example of how you can use the TextEncoding.Windows enumeration together within the BinaryFormat.Text function:

// Output: "cX"
let
  binaryData = #binary( {99, 88, 77} ),
  fomatFunction = BinaryFormat.Text( 2, TextEncoding.Windows ),
  result = fomatFunction( binaryData )
in
  result

Other related enumerations are:

Applies to

Here’s a list of functions that work with TextEncoding.Type:

BI Gorilla Youtube Channel

Contribute » | Contributors: Rick de Groot