category

character_set

Shared implementation support category for character set objects.

Availability:
logtalk_load(character_sets(loader))
Author: Paulo Moura
Version: 1:1:0
Date: 2026-08-04
Compilation flags:
static
Implements:
Remarks:
(none)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

valid_unicode_scalar/1

True if the argument is a valid Unicode scalar value.

Compilation flags:
static
Template:
valid_unicode_scalar(Code)
Mode and number of proofs:
valid_unicode_scalar(+integer) - zero_or_one

continuation_byte/1

True if the argument is a valid UTF continuation byte.

Compilation flags:
static
Template:
continuation_byte(Byte)
Mode and number of proofs:
continuation_byte(+integer) - zero_or_one

high_surrogate/1

True if the argument is a UTF-16 high surrogate code point.

Compilation flags:
static
Template:
high_surrogate(Code)
Mode and number of proofs:
high_surrogate(+integer) - zero_or_one

low_surrogate/1

True if the argument is a UTF-16 low surrogate code point.

Compilation flags:
static
Template:
low_surrogate(Code)
Mode and number of proofs:
low_surrogate(+integer) - zero_or_one

endian_order/2

Maps a character set endian parameter to a byte order.

Compilation flags:
static
Template:
endian_order(Endian,Order)
Mode and number of proofs:
endian_order(+atom,-atom) - one

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)