ncmpc  0.31
Public Member Functions
Utf8ToLocale Class Reference

#include <charset.hxx>

Public Member Functions

 Utf8ToLocale (const char *src)
 
const char * c_str () const
 

Detailed Description

Convert an UTF-8 string to the locale charset. The source string must remain valid while this object is used. If no conversion is necessary, then this class is a no-op.

Constructor & Destructor Documentation

◆ Utf8ToLocale()

Utf8ToLocale::Utf8ToLocale ( const char *  src)
inlineexplicit

Member Function Documentation

◆ c_str()

const char* Utf8ToLocale::c_str ( ) const
inline

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