MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / recode

Method recode

source/src/tools/string.h:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 public:
9 static UINT systemCode() { return GetACP(); }
10 static std::string recode(const std::string& res, UINT resCodePage, UINT desCodePage) { return toString(toWString(res, resCodePage), desCodePage); }
11
12 // string convert
13 static std::string toString(char val) { char str[] = { val, '\0' }; return str; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected