diff options
author | eninng <eninng@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 | 91aa870864e227f2f6d404c5892aefb771b5c8db (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /contrib/libs/libxml/encoding.c | |
parent | 83de44964eb30cab9f4750ec5113837b79d73f76 (diff) | |
download | ydb-91aa870864e227f2f6d404c5892aefb771b5c8db.tar.gz |
Restoring authorship annotation for <eninng@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libxml/encoding.c')
-rw-r--r-- | contrib/libs/libxml/encoding.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/libxml/encoding.c b/contrib/libs/libxml/encoding.c index 9fba69b76c..89ac8dd2c9 100644 --- a/contrib/libs/libxml/encoding.c +++ b/contrib/libs/libxml/encoding.c @@ -44,10 +44,10 @@ #endif #include <libxml/globals.h> #include <libxml/xmlerror.h> - -#ifndef ARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS + +#ifndef ARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS #include "yencoding.h" -#endif +#endif #include "buf.h" #include "enc.h" @@ -1428,12 +1428,12 @@ xmlInitCharEncodingHandlers(void) { xmlNewCharEncodingHandler("ISO-8859-1", isolat1ToUTF8, UTF8Toisolat1); xmlNewCharEncodingHandler("ASCII", asciiToUTF8, UTF8Toascii); xmlNewCharEncodingHandler("US-ASCII", asciiToUTF8, UTF8Toascii); - -#ifndef ARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS + +#ifndef ARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS xmlNewCharEncodingHandler("windows-1251", win1251ToUTF8, UTF8Towin1251); xmlNewCharEncodingHandler("koi8-r", koi8ToUTF8, UTF8Tokoi8); -#endif - +#endif + #ifdef LIBXML_HTML_ENABLED xmlNewCharEncodingHandler("HTML", NULL, UTF8ToHtml); #endif |