utf8.invalid-code-point

catch name

Library: UTF-8 (OMUTF8)
Import : omutf8.xmd

Declaration
export catch invalid-code-point value integer code-point

Argument definitions

code-point
The code point that triggered the exception


Purpose

The utf8.invalid-code-point exception is triggered when utf8.encoding function is supplied with an argument that cannot be converted to a valid UTF-8 encoding.

Usage Note

To use utf8.invalid-code-point, you must import OMUTF8 into your program using an import declaration such as:

  import "omutf8.xmd" prefixed by utf8.

Related Topics