Fix typo in a comment

pull/852/merge
scrawl 9 years ago
parent eb92b853fe
commit 0efce6cd4c

@ -85,10 +85,10 @@ std::string Utf8Encoder::getUtf8(const char* input, size_t size)
assert(input[size] == 0);
// Note: The rest of this function is designed for single-character
// input encodings only. It also assumes that the input the input
// encoding shares its first 128 values (0-127) with ASCII. There are
// no plans to add more encodings to this module (we are using utf8
// for new content files), so that shouldn't be an issue.
// input encodings only. It also assumes that the input encoding
// shares its first 128 values (0-127) with ASCII. There are no plans
// to add more encodings to this module (we are using utf8 for new
// content files), so that shouldn't be an issue.
// Compute output length, and check for pure ascii input at the same
// time.

Loading…
Cancel
Save