WebCFace 2.9.0
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
encoding.h File Reference
#include <string>
#include <string_view>
#include <memory>
#include "webcface-config.h"
Include dependency graph for encoding.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SharedString
 u8stringとstringとwstringをshared_ptrで持ち共有する More...
 
struct  SharedString::Hash
 

Namespaces

namespace  webcface
 
namespace  webcface::internal
 
namespace  webcface::encoding
 

Typedefs

using SharedString = webcface::SharedString
 

Functions

void usingUTF8 (bool flag)
 webcfaceが使用するエンコーディングを設定する
 
bool usingUTF8 ()
 webcfaceが使用するエンコーディングを取得する
 
std::wstring toWide (std::string_view name_ref)
 stringをwstringに変換する
 
std::string toNarrow (std::wstring_view name_ref)
 wstringをstringに変換する
 
bool usingUTF8 ()
 
void usingUTF8 (bool flag)
 
std::wstring toWide (std::string_view name_ref)
 
std::string toNarrow (std::wstring_view name)