MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / fitsInLocal8bit

Function fitsInLocal8bit

launcher/FileSystem.cpp:1679–1682  ·  view source on GitHub ↗

if the string survives roundtrip through local 8bit encoding...

Source from the content-addressed store, hash-verified

1677
1678// if the string survives roundtrip through local 8bit encoding...
1679bool fitsInLocal8bit(const QString& string)
1680{
1681 return string == QString::fromLocal8Bit(string.toLocal8Bit());
1682}
1683
1684QString getPathNameInLocal8bit(const QString& file)
1685{

Callers 1

getPathNameInLocal8bitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected