hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
utf8Unicode Class Reference

#include <utfutils.hpp>

Static Public Member Functions

static bool utf8ToUnicode (const std::string &utf8, std::wstring &unicode)
 
static void unicodeToUtf8 (const std::wstring &unicode, std::string &utf8)
 

Static Private Member Functions

static bool checkLength (unsigned int start, unsigned int offset, unsigned int end)
 

Detailed Description

Definition at line 11 of file utfutils.hpp.

Member Function Documentation

◆ checkLength()

static bool checkLength ( unsigned int  start,
unsigned int  offset,
unsigned int  end 
)
inlinestaticprivate

Definition at line 135 of file utfutils.hpp.

Referenced by utf8ToUnicode().

Here is the caller graph for this function:

◆ unicodeToUtf8()

static void unicodeToUtf8 ( const std::wstring &  unicode,
std::string &  utf8 
)
inlinestatic

Definition at line 77 of file utfutils.hpp.

Referenced by yoi::wstring2string().

Here is the caller graph for this function:

◆ utf8ToUnicode()

static bool utf8ToUnicode ( const std::string &  utf8,
std::wstring &  unicode 
)
inlinestatic

Definition at line 13 of file utfutils.hpp.

References checkLength().

Referenced by yoi::string2wstring().

Here is the call graph for this function:
Here is the caller graph for this function:

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