MCPcopy Create free account
hub / github.com/PrismLauncher/PrismLauncher / fitsInLocal8bit

Function fitsInLocal8bit

launcher/FileSystem.cpp:1670–1673  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1668
1669// if the string survives roundtrip through local 8bit encoding...
1670bool fitsInLocal8bit(const QString& string)
1671{
1672 return string == QString::fromLocal8Bit(string.toLocal8Bit());
1673}
1674
1675QString getPathNameInLocal8bit(const QString& file)
1676{

Callers 1

getPathNameInLocal8bitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected