mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
renamed Unicode -> TextOperations, to use for all text processing
This commit is contained in:
@@ -169,7 +169,7 @@ JsonNode JsonParser::parse(std::string fileName)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!Unicode::isValidString(&input[0], input.size()))
|
||||
if (!TextOperations::isValidUnicodeString(&input[0], input.size()))
|
||||
error("Not a valid UTF-8 file", false);
|
||||
|
||||
extractValue(root);
|
||||
|
||||
Reference in New Issue
Block a user