Fix MSVC warning C4819

Replaces a U+00A0 character with regular space, and fixes a typo.
This commit is contained in:
Eren Okka 2017-12-17 18:02:55 +03:00 committed by GitHub
parent 1ca6ec1dc0
commit ab0e8b2f3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6564,7 +6564,7 @@ class serializer
// check that the additional bytes are present
assert(i + bytes < s.size());
// to use \uxxxx escaping, we first need to caluclate
// to use \uxxxx escaping, we first need to calculate
// the codepoint from the UTF-8 bytes
int codepoint = 0;