summaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/codepage.h
diff options
context:
space:
mode:
authortejblum <[email protected]>2022-02-10 16:48:02 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:02 +0300
commit2bf39531b4f50b889e946ac4866018678a4fb281 (patch)
tree65ee082892af9db55f726e13950abf0b1cc65992 /library/cpp/charset/codepage.h
parenta61e8c559b6b690a019253067224d595e3d642f1 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 30a02a46106..9ad4a290f50 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);