MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / StringCharToUTF8

Function StringCharToUTF8

source/StringConv.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58LPCSTR StringCharToUTF8(LPCSTR sChar, CStringA &sUTF8, int iChars/* = -1*/, UINT codepage/* = CP_ACP*/)
59{
60 return StringWCharToUTF8(CStringWCharFromChar(sChar, iChars, codepage), sUTF8);
61}
62
63LPCSTR StringWCharToChar(LPCWSTR sWChar, CStringA &sChar, int iChars/* = -1*/, char chDef/* = '?'*/, UINT codepage/* = CP_ACP*/)
64{

Callers 1

CStringUTF8FromCharMethod · 0.85

Calls 2

StringWCharToUTF8Function · 0.85

Tested by

no test coverage detected