Setting and Querying Locale
┌─────────────────────────┬──────────────┬─────────────────────────┬───────────┐
│ Function │ Header File │ Link to Function │ Descriptio│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ iconv │ "iconv.h" │ iconv
│ Converts │
│ │ │ │ charac- │
│ │ │ │ ters from │
│ │ │ │ one │
│ │ │ │ codeset │
│ │ │ │ to │
│ │ │ │ another. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ iconv_close │ "iconv.h" │ iconv_close
│ Deletes │
│ │ │ │ the con- │
│ │ │ │ version │
│ │ │ │ descriptor│
│ │ │ │ created │
│ │ │ │ by │
│ │ │ │ iconv_open│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ iconv_open │ "iconv.h" │ iconv_open
│ Creates a │
│ │ │ │ conver- │
│ │ │ │ sion │
│ │ │ │ descriptor│
│ │ │ │ for iconv │
│ │ │ │ to use in │
│ │ │ │ con- │
│ │ │ │ verting │
│ │ │ │ charac- │
│ │ │ │ ters. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ localeconv │ "locale.h" │ localeconv
│ Queries │
│ │ │ │ the │
│ │ │ │ numeric │
│ │ │ │ format- │
│ │ │ │ ting con- │
│ │ │ │ ventions │
│ │ │ │ for the │
│ │ │ │ current │
│ │ │ │ locale. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ nl_langinfo │ "langinfo.h""│ nl_langinfo
│ Retrieves │
│ │ nl_types.h" │ │ requested │
│ │ │ │ informa- │
│ │ │ │ tion for │
│ │ │ │ the │
│ │ │ │ current │
│ │ │ │ locale. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ setlocale │ "locale.h" │ setlocale
│ Changes │
│ │ │ │ or │
│ │ │ │ queries │
│ │ │ │ the │
│ │ │ │ locale. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ wctype │ "wctype.h" │ wctype
│ Returns │
│ │ │ │ the │
│ │ │ │ handle │
│ │ │ │ for a │
│ │ │ │ character │
│ │ │ │ class or │
│ │ │ │ property. │
└─────────────────────────┴──────────────┴─────────────────────────┴───────────┘
[Back: Environment Interaction]
[Next: String and Character Collating]