Regina 7.3 Calculation Engine
Static Public Member Functions | List of all members
regina::i18n::Locale Class Reference

A simple class with static routines for querying information about the current locale. More...

#include <utilities/i18nutils.h>

Static Public Member Functions

static const char * codeset ()
 Returns the character encoding used in the current locale. More...
 

Detailed Description

A simple class with static routines for querying information about the current locale.

These routines use ::setlocale() to determine the current locale, which means they respect environment variables such as LANG and LC_ALL.

Member Function Documentation

◆ codeset()

static const char * regina::i18n::Locale::codeset ( )
static

Returns the character encoding used in the current locale.

This is a plain string, such as "UTF-8" or "ISO-8859-1".

Returns
the character encoding for the current locale.

The documentation for this class was generated from the following file:

Copyright © 1999-2023, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).