Syntax | set aBlob = aString.transcodeToBlob(charset) set aBlob = transcodeToBlob(LITERAL, charset) | |
---|---|---|
Semantics | The operation transcodes internal strings (always UTF-8 encoded) into a blob containing the characters of the current string encoded in a given character set. | |
Substitutables | aString | Can be any variable or object attribute having the type String. |
charset | Can be any variable or object attribute having the type String and denoting a valid character set (e.g. UTF-8, ISO-8859-1, etc.). A list of supported character sets can be found in Charset Definitions. | |
LITERAL | ||
Examples | This example transforms a string into a blob that contains ISO-8859-1 encoded characters. set aBlob = aString.transcodeToBlob("ISO-8859-1"); |
Figure: Operation transcodeToBlob()
Overview
Content Tools