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.
Examples
Here’s a simple example of how you can use the TextEncoding.Ascii enumeration together within the BinaryFormat.Text function:
// Output: "cX"
let
binaryData = #binary( {99, 88, 77} ),
fomatFunction = BinaryFormat.Text( 2, TextEncoding.Ascii ),
result = fomatFunction( binaryData )
in
result
Related enumerations
Other related enumerations are:
- TextEncoding.BigEndianUnicode
- TextEncoding.Unicode
- TextEncoding.Utf16
- TextEncoding.Utf8
- TextEncoding.Windows
Applies to
Here’s a list of functions that work with TextEncoding.Type:
- BinaryFormat.Text
- Csv.Document
- Json.Document
- Json.FromValue
- Lines.FromBinary
- Lines.ToBinary
- Text.FromBinary
- Text.ToBinary
- Xml.Document
- Xml.Tables
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy