SoftadminUtil.TextEncoding_BytesToString

Not available in Cloud edition.
Type: Scalar function

Decodes text using the specified encoding.

Return value: nvarchar(max)

The decoded text.

Parameters

@Data mandatory varbinary(max)
The encoded bytes.
@Encoding mandatory nvarchar(300)
The encoding to use. This can be a string such as 'us-ascii', 'utf-8' or 'iso-8859-1'. It can also specify a windows code page, such as 1252.