MCPcopy Create free account
hub / github.com/aria2/aria2 / encodeNonUtf8

Function encodeNonUtf8

src/util.cc:2355–2358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2353}
2354
2355std::string encodeNonUtf8(const std::string& s)
2356{
2357 return util::isUtf8(s) ? s : util::percentEncode(s);
2358}
2359
2360std::string makeString(const char* str)
2361{

Callers 7

receiveReplyMethod · 0.85
visitMethod · 0.85
extractFileEntriesFunction · 0.85
extractAnnounceFunction · 0.85
extractNodesFunction · 0.85
processRootDictionaryFunction · 0.85
parseMagnetFunction · 0.85

Calls 2

isUtf8Function · 0.85
percentEncodeFunction · 0.85

Tested by

no test coverage detected