Function: iso-charset

iso-charset is a function defined in charset.c.

Signature

(iso-charset DIMENSION CHARS FINAL-CHAR)

Documentation

Return charset of ISO's specification DIMENSION, CHARS, and FINAL-CHAR.

ISO 2022's designation sequence (escape sequence) distinguishes charsets by their DIMENSION, CHARS, and FINAL-CHAR, whereas Emacs distinguishes them by charset symbol. See the documentation of the function charset-info for the meanings of DIMENSION, CHARS, and FINAL-CHAR.

Source Code

// Defined in /usr/src/emacs/src/charset.c
{
  bool chars_flag = check_iso_charset_parameter (dimension, chars, final_char);
  int id = ISO_CHARSET_TABLE (XFIXNUM (dimension), chars_flag,
			      XFIXNAT (final_char));
  return (id >= 0 ? CHARSET_NAME (CHARSET_FROM_ID (id)) : Qnil);
}