### Example: LC_CTYPE Locale Category Definition

The following lines are a sample definition of an LC_CTYPE locale category, as they might appear in a locale source file.

    #############
    LC_CTYPE
    #############
    # upper letters are A-Z by default plus the three defined below
    upper   <A-acute>;<A-grave>;<C-acute>

    # lower case letters are a-z by default plus the three defined below
    lower   <a-acute>;<a-grave><c-acute>

    # space characters are default 6 characters plus the one defined below
    space   <hyphen-minus>

    cntrl   <alert>;<backspace>;<tab>;<newline>;<vertical-tab>;\
            <form-feed>;<carriage-return>;<NUL>;\
            <SO>;<SI>

    # default graph, print,punct, digit, xdigit, blank classes

    # toupper mapping defined only for the following three pairs
    toupper (<a-acute),<A-acute>);\
            (<a-grave),<A-grave>);\
            (<c-acute),<C-acute>);

    # default upper to lower case mapping

    # user defined class
    myclass  <e-ogonek>;<E-ogonek>

    END LC_CTYPE

Internationalization
Localization and Locales

Customize a Locale

LC_CTYPE Locale Category
Locale Categories
Locale Source Files