char_set_name
Entity: function
Warning: This function is not available in the Light edition.

Usage:
Name is char_set_name(Char_Set_Number, Type)

Returns the string which contains the name of the char set with number Char_Set_Number. If the Type is s then the short name will be returned and if it is l then the long name will be returned.

Example:

?- Name is char_set_name(2, l), write(Name).

See also:
char sets table
convert_charset
convert_UTF8_to_local

Look at the example:
char_sets.spj (in folder Examples)