Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2355
std::string encodeNonUtf8(const std::string& s)
2356
{
2357
return util::isUtf8(s) ? s : util::percentEncode(s);
2358
}
2359
2360
std::string makeString(const char* str)
2361
{
Callers
7
receiveReply
Method · 0.85
visit
Method · 0.85
extractFileEntries
Function · 0.85
extractAnnounce
Function · 0.85
extractNodes
Function · 0.85
processRootDictionary
Function · 0.85
parseMagnet
Function · 0.85
Calls
2
isUtf8
Function · 0.85
percentEncode
Function · 0.85
Tested by
no test coverage detected