From 50d40c1f54411bd73215a66622b6bcf0e77e364e Mon Sep 17 00:00:00 2001 From: Tony Gorez Date: Tue, 30 Aug 2022 19:01:09 +0200 Subject: [PATCH] test: update doc in code --- src/api/encoding.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') {