diff --git a/src/api/encoding.cc b/src/api/encoding.cc index fb4cd61828a17d..f8dde04a87d37f 100644 --- a/src/api/encoding.cc +++ b/src/api/encoding.cc @@ -16,8 +16,8 @@ enum encoding ParseEncoding(const char* encoding, case 'u': case 'U': // Note: the two first conditions are needed for performance reasons - // as "utf8"/"utf-8" is a common case - // (same for "utf16le/utf-16le" and "ucs2/ucs-2"). + // as "utf8"/"utf-8" is a common case. + // (same for other cases below) // utf, utf16le if (encoding[1] == 't' && encoding[2] == 'f') {