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


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

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

Other related enumerations are:

Applies to

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

BI Gorilla Blog

Last update: August 17, 2023 | Contribute » | Contributors: Rick de Groot
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.