Skip to content

Namespace cublocale

Namespace List > cublocale

Public Functions

Type Name
bool convert_string_to_utf8 (std::string & utf8_string, const std::string & input_string, const INTL_CODESET codeset)
bool convert_utf8_to_string (std::string & out_string, const std::string & utf8_string, const INTL_CODESET codeset)
bool convert_utf8_to_wstring (std::wstring & out, const std::string & in)
bool convert_wstring_to_utf8 (std::string & out, const std::wstring & in)
std::string get_codeset_name (const LANG_COLLATION * lang_coll)
std::string get_lang_name (const LANG_COLLATION * lang_coll)
std::locale get_locale (const std::string & charset, const std::string & lang)

Public Functions Documentation

function convert_string_to_utf8

bool cublocale::convert_string_to_utf8 (
    std::string & utf8_string,
    const std::string & input_string,
    const  INTL_CODESET codeset
) 

function convert_utf8_to_string

bool cublocale::convert_utf8_to_string (
    std::string & out_string,
    const std::string & utf8_string,
    const  INTL_CODESET codeset
) 

function convert_utf8_to_wstring

bool cublocale::convert_utf8_to_wstring (
    std::wstring & out,
    const std::string & in
) 

function convert_wstring_to_utf8

bool cublocale::convert_wstring_to_utf8 (
    std::string & out,
    const std::wstring & in
) 

function get_codeset_name

std::string cublocale::get_codeset_name (
    const  LANG_COLLATION * lang_coll
) 

function get_lang_name

std::string cublocale::get_lang_name (
    const  LANG_COLLATION * lang_coll
) 

function get_locale

std::locale cublocale::get_locale (
    const std::string & charset,
    const std::string & lang
) 


The documentation for this class was generated from the following file cubrid/src/base/locale_helper.cpp