MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / ToFullWidth

Function ToFullWidth

Source/MediaInfo/MediaInfo_Inform.cpp:102–116  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

100
101//---------------------------------------------------------------------------
102std::wstring ToFullWidth(const std::wstring& input)
103{
104 std::wstring result;
105 for (wchar_t ch : input) {
106 if (ch >= 0x20 && ch <= 0x7E) {
107 if (ch == 0x20)
108 result += 0x3000;
109 else
110 result += ch + 0xFEE0;
111 }
112 else
113 result += ch;
114 }
115 return result;
116}
117
118//---------------------------------------------------------------------------
119std::string URL_Encoded_Encode(const std::string& URL);

Callers 1

InformMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected