mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
renamed Unicode -> TextOperations, to use for all text processing
This commit is contained in:
@ -96,9 +96,9 @@ std::string CBinaryReader::readString()
|
||||
ret.resize(len);
|
||||
read(reinterpret_cast<ui8*>(&ret[0]), len);
|
||||
//FIXME: any need to move this into separate "read localized string" method?
|
||||
if (Unicode::isValidASCII(ret))
|
||||
if (TextOperations::isValidASCII(ret))
|
||||
return ret;
|
||||
return Unicode::toUnicode(ret);
|
||||
return TextOperations::toUnicode(ret);
|
||||
}
|
||||
return "";
|
||||
|
||||
|
Reference in New Issue
Block a user