Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with parsing values where Cyrillic characters are present #13

Open
Sam4uk opened this issue Jul 31, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Sam4uk
Copy link

Sam4uk commented Jul 31, 2021

Problems with parsing values where Cyrillic characters are present

Got a problem when parsing a file where the values of the keys are strings with Cyrillic characters

if (line[i] != '\t' && (line[i] < 32 || line[i] > 125))

@jimmiebergmann jimmiebergmann added the bug Something isn't working label Apr 7, 2023
@Politofr09
Copy link

I have the same exception thrown when trying to use extended ASCII such as "à" or á etc
Simply comment the for loop and it's working.

                // Validate characters.
                // for (size_t i = 0; i < line.size(); i++)
                // {
                //     if (line[i] != '\t' && (line[i] < 32 || line[i] > 255))
                //     {
                //         throw ParsingException(ExceptionMessage(g_ErrorInvalidCharacter, lineNo, i + 1));
                //     }
                // }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants