aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/codepage.h
diff options
context:
space:
mode:
authortejblum <tejblum@yandex-team.ru>2022-02-10 16:48:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:02 +0300
commit6ab7e5f5ada0643a48d393717f443bd548706ffc (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/charset/codepage.h
parent2bf39531b4f50b889e946ac4866018678a4fb281 (diff)
downloadydb-6ab7e5f5ada0643a48d393717f443bd548706ffc.tar.gz
Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/charset/codepage.h')
-rw-r--r--library/cpp/charset/codepage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/charset/codepage.h b/library/cpp/charset/codepage.h
index 9ad4a290f5..30a02a4610 100644
--- a/library/cpp/charset/codepage.h
+++ b/library/cpp/charset/codepage.h
@@ -1,7 +1,7 @@
#pragma once
-
+
#include "doccodes.h"
-
+
#include <util/charset/recode_result.h>
#include <util/charset/unidata.h> // all wchar32 functions
#include <util/charset/utf8.h>
@@ -91,7 +91,7 @@ struct CodePage {
return SingleByteCodepage() || CPEnum == CODES_UTF8;
}
};
-
+
class TCodePageHash;
namespace NCodepagePrivate {
@@ -193,7 +193,7 @@ ECharset EncodingHintByName(const char* name);
struct Encoder {
char* Table[256];
const char* DefaultChar;
-
+
inline char Code(wchar32 ch) const {
if (ch > 0xFFFF)
return 0;
@@ -222,7 +222,7 @@ struct Encoder {
\*****************************************************************/
struct Recoder {
unsigned char Table[257];
-
+
void Create(const CodePage& source, const CodePage& target);
void Create(const CodePage& source, const Encoder* wideTarget);