diff options
author | sobols <sobols@yandex-team.ru> | 2022-02-10 16:47:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:08 +0300 |
commit | 03335cb18337a0ef51966452a66a69b01abea218 (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/charset | |
parent | 09961b69c61f471ddd594e0fd877df62a8021562 (diff) | |
download | ydb-03335cb18337a0ef51966452a66a69b01abea218.tar.gz |
Restoring authorship annotation for <sobols@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/charset')
-rw-r--r-- | library/cpp/charset/codepage_ut.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/charset/codepage_ut.cpp b/library/cpp/charset/codepage_ut.cpp index 350f886335..c3ac3ac478 100644 --- a/library/cpp/charset/codepage_ut.cpp +++ b/library/cpp/charset/codepage_ut.cpp @@ -365,58 +365,58 @@ static void TestCanEncodeEach(const TWtringBuf& text, ECharset encoding, bool ex void TCodepageTest::TestCanEncode() { TestCanEncodeEmpty(); - const TUtf16String lat = u"AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"; + const TUtf16String lat = u"AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"; TestCanEncodeEach(lat, CODES_WIN, true); TestCanEncodeEach(lat, CODES_YANDEX, true); TestCanEncodeEach(lat, CODES_UTF8, true); - const TUtf16String rus = u"АаБбВвГгДдЕеЁёЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя"; + const TUtf16String rus = u"АаБбВвГгДдЕеЁёЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя"; TestCanEncodeEach(rus, CODES_WIN, true); TestCanEncodeEach(rus, CODES_YANDEX, true); TestCanEncodeEach(rus, CODES_UTF8, true); - const TUtf16String ukr = u"ҐґЄєІіЇї"; + const TUtf16String ukr = u"ҐґЄєІіЇї"; TestCanEncodeEach(ukr, CODES_WIN, true); TestCanEncodeEach(ukr, CODES_YANDEX, true); TestCanEncodeEach(ukr, CODES_UTF8, true); - const TUtf16String pol = u"ĄĆĘŁŃÓŚŹŻąćęłńóśźż"; + const TUtf16String pol = u"ĄĆĘŁŃÓŚŹŻąćęłńóśźż"; TestCanEncodeEach(pol, CODES_WIN, false); TestCanEncodeEach(pol, CODES_YANDEX, true); TestCanEncodeEach(pol, CODES_UTF_16BE, true); - const TUtf16String ger = u"ÄäÖöÜüß"; + const TUtf16String ger = u"ÄäÖöÜüß"; TestCanEncodeEach(ger, CODES_WIN, false); TestCanEncodeEach(ger, CODES_YANDEX, true); TestCanEncodeEach(ger, CODES_UTF_16LE, true); - const TUtf16String fra1 = u"éàèùâêîôûëïç"; // supported in yandex cp - const TUtf16String fra2 = u"ÉÀÈÙÂÊÎÔÛËÏŸÿÇ"; - const TUtf16String fra3 = u"Æ挜"; + const TUtf16String fra1 = u"éàèùâêîôûëïç"; // supported in yandex cp + const TUtf16String fra2 = u"ÉÀÈÙÂÊÎÔÛËÏŸÿÇ"; + const TUtf16String fra3 = u"Æ挜"; TestCanEncodeEach(fra1 + fra2 + fra3, CODES_WIN, false); TestCanEncodeEach(fra1, CODES_YANDEX, true); TestCanEncodeEach(fra2 + fra3, CODES_YANDEX, false); TestCanEncodeEach(fra1 + fra2 + fra3, CODES_UTF8, true); - const TUtf16String kaz = u"ӘәҒғҚқҢңӨөҰұҮүҺһ"; + const TUtf16String kaz = u"ӘәҒғҚқҢңӨөҰұҮүҺһ"; TestCanEncodeEach(kaz, CODES_WIN, false); TestCanEncodeEach(kaz, CODES_YANDEX, false); TestCanEncodeEach(kaz, CODES_UTF8, true); TestCanEncodeEach(kaz, CODES_KAZWIN, true); - const TUtf16String tur1 = u"ĞİŞğş"; - const TUtf16String tur = tur1 + u"ı"; + const TUtf16String tur1 = u"ĞİŞğş"; + const TUtf16String tur = tur1 + u"ı"; TestCanEncodeEach(tur, CODES_WIN, false); TestCanEncodeEach(tur, CODES_YANDEX, false); TestCanEncodeEach(tur, CODES_UTF8, true); - const TUtf16String chi = u"新隶体新隸體"; + const TUtf16String chi = u"新隶体新隸體"; TestCanEncodeEach(chi, CODES_WIN, false); TestCanEncodeEach(chi, CODES_YANDEX, false); TestCanEncodeEach(chi, CODES_UTF8, true); TestCanEncodeEach(chi, CODES_UTF_16LE, true); - const TUtf16String jap = u"漢字仮字交じり文"; + const TUtf16String jap = u"漢字仮字交じり文"; TestCanEncodeEach(jap, CODES_WIN, false); TestCanEncodeEach(jap, CODES_YANDEX, false); TestCanEncodeEach(jap, CODES_UTF8, true); |