diff --git a/yaml/Yaml.cpp b/yaml/Yaml.cpp index 70adec6..f5ebb0f 100644 --- a/yaml/Yaml.cpp +++ b/yaml/Yaml.cpp @@ -1457,7 +1457,7 @@ namespace Yaml // Validate characters. for (size_t i = 0; i < line.size(); i++) { - if (line[i] != '\t' && (line[i] < 32 || line[i] > 125)) + if (line[i] != '\t' && (line[i] < 32 || line[i] > 126)) { throw ParsingException(ExceptionMessage(g_ErrorInvalidCharacter, lineNo, i + 1)); }