Skip to main content
Scalar function
Returns NULL for NULL input.

Syntax

Scalar

Arguments

Returns

  • Type: STRING
  • Possible values: The encoded or decoded string.
  • NULL behavior: Returns NULL for NULL input.

Properties

Usage notes

  • Encoding maps spaces to plus signs; decoding maps plus signs to spaces.

Examples

Typical behavior

Decode UTF-8 text

Limitations

  • Malformed percent sequences or invalid decoded UTF-8 raise an execution error.
Last modified on October 15, 2026