Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

OCI-36691

(NTEXTCNV02) invalid escape sequence in argument to UNISTR function: string

Cause

The UNISTR function was called on a string that had an invalid escape sequence. The only valid escape sequences in UNISTR are

  • An escape-escape sequence.
  • An escape, followed by exactly four hexadecimal digits.

Action

Ensure that all escape sequences in UNISTR arguments are exactly four hexadecimal digits. To represent code points whose value is less than 0x1000, use preceding zeros. For example:

  • Invalid: 0x10
  • Valid: 0x0010