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

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

NAME
iswupper - test for uppercase wide character SYNOPSIS
#include <wctype.h> int iswupper(wint_t wc); DESCRIPTION
The iswupper function is the wide-character equivalent of the isupper function. It tests whether wc is a wide character belonging to the wide character class "upper". The wide character class "upper" is a subclass of the wide character class "alpha", and therefore also a subclass of the wide character class "alnum", of the wide character class "graph" and of the wide character class "print". Being a subclass of the wide character class "print", the wide character class "upper" is disjoint from the wide character class "cntrl". Being a subclass of the wide character class "graph", the wide character class "upper" is disjoint from the wide character class "space" and its subclass "blank". Being a subclass of the wide character class "alnum", the wide character class "upper" is disjoint from the wide character class "punct". Being a subclass of the wide character class "alpha", the wide character class "upper" is disjoint from the wide character class "digit". The wide character class "upper" contains at least those characters wc which are equal to towupper(wc) and different from towlower(wc). The wide character class "upper" always contains at least the letters 'A' to 'Z'. RETURN VALUE
The iswupper function returns non-zero if wc is a wide character belonging to the wide character class "upper". Otherwise it returns zero. CONFORMING TO
ISO/ANSI C, UNIX98 SEE ALSO
isupper(3), iswctype(3), towupper(3) NOTES
The behaviour of iswupper depends on the LC_CTYPE category of the current locale. This function is not very appropriate for dealing with Unicode characters, because Unicode knows about three cases: upper, lower and title case. GNU
1999-07-25 ISWUPPER(3)
Man Page