encoding/1

Description

encoding(Encoding)

Declares the source file text encoding. This is a EXPERIMENTAL directive, 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).