Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iso2022(5) [osf1 man page]

iso2022(5)							File Formats Manual							iso2022(5)

NAME
iso2022, iso-2022, ISO-2022 - A character encoding mechanism standardized by the International Standards Organization (ISO) DESCRIPTION
The ISO-2022 standard defines a mechanism for handling single-byte and multibyte characters. The standard specifies four classes of charac- ter sets: The 94-charset class, which contains character sets with 94 positions (single-byte characters). Examples are the ASCII and JIS X0201 character sets. The 96-charset class, which contains character sets with 96 positions (single-byte characters). Examples are the ISO Latin series of character sets. The 94x94-charset class, which contains character sets with 94x94 positions (2-byte characters). Examples are the GB 2312 and the CNS 11643 character sets. The 96x96-charset class, which contains character sets with 96x96 positions (2-byte characters). In the ISO-2022 standard, four registers, called G0, G1, G2 and G3, are used to reference a character set. Before a character set can be used, the character set must be assigned, or designated, to one of these registers. The designation of a character set is done by using an escape sequence in the following format: ESC [I] F In this format: Is an intermediate character that is used to designate a character set to one of the registers (G0, G1, G2, oR G3). Is a unique final character of a particular character set. The designation of a character set, whose final character is F, to different registers is as follows: Designates a multibyte character set (94x94 or 96x96) to G0. Designates a character set in the 94-charset class to G0. Designates a character set in the 94-charset class to G1. Designates a character set in the 94-charset class to G2. Designates a character set in the 94-charset class to G3. Designates a character set in the 96-charset class to G1. Designates a character set in the 96-charset class to G2. Designates a character set in the 96-charset class to G3. SEE ALSO
Commands: locale(1) Others: ascii(5), i18n_intro(5), iso2022jp(5), l10n_intro(5) iso2022(5)

Check Out this Related Man Page

ISWALNUM(3)						     Linux Programmer's Manual						       ISWALNUM(3)

NAME
iswalnum - test for alphanumeric wide character SYNOPSIS
#include <wctype.h> int iswalnum(wint_t wc); DESCRIPTION
The iswalnum function is the wide-character equivalent of the isalnum function. It tests whether wc is a wide character belonging to the wide character class "alnum". The wide character class "alnum" is a subclass of the wide character class "graph", and therefore also a subclass of the wide character class "print". Being a subclass of the wide character class "print", the wide character class "alnum" is disjoint from the wide character class "cntrl". Being a subclass of the wide character class "graph", the wide character class "alnum" is disjoint from the wide character class "space" and its subclass "blank". The wide character class "alnum" is disjoint from the wide character class "punct". The wide character class "alnum" is the union of the wide character classes "alpha" and "digit". As such, it also contains the wide charac- ter class "xdigit". The wide character class "alnum" always contains at least the letters 'A' to 'Z', 'a' to 'z' and the digits '0' to '9'. RETURN VALUE
The iswalnum function returns non-zero if wc is a wide character belonging to the wide character class "alnum". Otherwise it returns zero. CONFORMING TO
ISO/ANSI C, UNIX98 SEE ALSO
isalnum(3), iswctype(3) NOTES
The behaviour of iswalnum depends on the LC_CTYPE category of the current locale. GNU
1999-07-25 ISWALNUM(3)
Man Page