Skip to content

Windows tab encoding with custom locale test #1190

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

Merged
merged 1 commit into from
Jun 11, 2020
Merged

Windows tab encoding with custom locale test #1190

merged 1 commit into from
Jun 11, 2020

Conversation

TheStormN
Copy link
Contributor

@TheStormN TheStormN commented Jun 11, 2020

Unit test contribution for #1189

@coveralls
Copy link

coveralls commented Jun 11, 2020

Coverage Status

Coverage remained the same at 93.801% when pulling 56fa945 on TheStormN:windows-isprint-tests into b395975 on open-source-parsers:BillyDonahue-avoid-isprint.

@TheStormN TheStormN changed the base branch from BillyDonahue-avoid-isprint to master June 11, 2020 22:06
@TheStormN TheStormN changed the base branch from master to BillyDonahue-avoid-isprint June 11, 2020 22:07
@BillyDonahue BillyDonahue merged commit a74ceb4 into open-source-parsers:BillyDonahue-avoid-isprint Jun 11, 2020
@BillyDonahue
Copy link
Contributor

BillyDonahue commented Jun 11, 2020

No judgements, but changing the base branch made this more difficult for me. :)
I took this change into my branch, but now I have to leave here, visit my branch, create a new PR from it, and merge that PR into master. It all worked out ok in the end.

BillyDonahue added a commit that referenced this pull request Jun 11, 2020
* avoid isprint

`std::isprint` is locale-specific and the JSON-spec is not.
In particular, isprint('\t') is true in Windows CP1252.

Has bitten others, e.g. laurikari/tre#64

Fixes #1187

* semicolon (rookie mistake!)

* Windows tab escape testing with custom locale (#1190)

Co-authored-by: Nikolay Baklicharov <[email protected]>
@TheStormN
Copy link
Contributor Author

No judgements, but changing the base branch made this more difficult for me. :)
I took this change into my branch, but now I have to leave here, visit my branch, create a new PR from it, and merge that PR into master. It all worked out ok in the end.

I figured that out and changed it back in the very same minute that I did the first change, so there shouldn't be an issues. :)

@TheStormN TheStormN deleted the windows-isprint-tests branch June 11, 2020 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants