encoding/1

Description

encoding(Encoding)

Declares the source file text encoding. This is an EXPERIMENTAL source file directive, which is only supported on some Prolog compilers. When used, this directive must be the first term in the source file.

Template and modes

encoding(+atom)

Examples

:- encoding(utf8).

:- encoding(iso_latin_1).