Encodings class
Leave feedback
On this page
Contains names of possible encodings.
Learn more
- Text file encoding detection
The Encodings type exposes the following members:
| Field | Description |
|---|---|
| IBM037 | The IBM037 encoding. |
| IBM437 | The IBM437 encoding. |
| IBM500 | The IBM500 encoding. |
| ASMO_708 | The ASMO-708 encoding. |
| DOS_720 | The DOS-720 encoding. |
| IBM737 | The ibm737 encoding. |
| IBM775 | The ibm775 encoding. |
| IBM850 | The ibm850 encoding. |
| IBM852 | The ibm852 encoding. |
| IBM855 | The IBM855 encoding. |
| IBM857 | The ibm857 encoding. |
| IBM00858 | The IBM00858 encoding. |
| IBM860 | The IBM860 encoding. |
| IBM861 | The ibm861 encoding. |
| DOS_862 | The DOS-862 encoding. |
| IBM863 | The IBM863 encoding. |
| IBM864 | The IBM864 encoding. |
| IBM865 | The IBM865 encoding. |
| CP866 | The cp866 encoding. |
| IBM869 | The ibm869 encoding. |
| IBM870 | The IBM870 encoding. |
| WINDOWS_874 | The windows-874 encoding. |
| CP875 | The cp875 encoding. |
| SHIFT_JIS | The shift_jis encoding. |
| GB2312 | The gb2312 encoding. |
| KS_C_5601_1987 | The ks_c_5601-1987 encoding. |
| BIG5 | The big5 encoding. |
| IBM1026 | The IBM1026 encoding. |
| IBM01047 | The IBM01047 encoding. |
| IBM01140 | The IBM01140 encoding. |
| IBM01141 | The IBM01141 encoding. |
| IBM01142 | The IBM01142 encoding. |
| IBM01143 | The IBM01143 encoding. |
| IBM01144 | The IBM01144 encoding. |
| IBM01145 | The IBM01145 encoding. |
| IBM01146 | The IBM01146 encoding. |
| IBM01147 | The IBM01147 encoding. |
| IBM01148 | The IBM01148 encoding. |
| IBM01149 | The IBM01149 encoding. |
| UTF_16 | The utf-16 encoding. |
| UTF_16BE | The utf-16BE encoding. |
| WINDOWS_1250 | The Windows-1250 encoding. |
| WINDOWS_1251 | The Windows-1251 encoding. |
| WINDOWS_1252 | The Windows-1252 encoding. |
| WINDOWS_1253 | The Windows-1253 encoding. |
| WINDOWS_1254 | The Windows-1254 encoding. |
| WINDOWS_1255 | The Windows-1255 encoding. |
| WINDOWS_1256 | The Windows-1256 encoding. |
| WINDOWS_1257 | The Windows-1257 encoding. |
| WINDOWS_1258 | The Windows-1258 encoding. |
| JOHAB | The Johab encoding. |
| MACINTOSH | The macintosh encoding. |
| X_MAC_JAPANESE | The x-mac-japanese encoding. |
| X_MAC_CHINESETRAD | The x-mac-chinesetrad encoding. |
| X_MAC_KOREAN | The x-mac-korean encoding. |
| X_MAC_ARABIC | The x-mac-arabic encoding. |
| X_MAC_HEBREW | The x-mac-hebrew encoding. |
| X_MAC_GREEK | The x-mac-greek encoding. |
| X_MAC_CYRILLIC | The x-mac-cyrillic encoding. |
| X_MAC_CHINESESIMP | The x-mac-chinesesimp encoding. |
| X_MAC_ROMANIAN | The x-mac-romanian encoding. |
| X_MAC_UKRAINIAN | The x-mac-ukrainian encoding. |
| X_MAC_THAI | The x-mac-thai encoding. |
| X_MAC_CE | The x-mac-ce encoding. |
| X_MAC_ICELANDIC | The x-mac-icelandic encoding. |
| X_MAC_TURKISH | The x-mac-turkish encoding. |
| X_MAC_CROATIAN | The x-mac-croatian encoding. |
| UTF_32 | The utf-32 encoding. |
| UTF_32BE | The utf-32BE encoding. |
| X_CHINESE_CNS | The x-Chinese-CNS encoding. |
| X_CP20001 | The x-cp20001 encoding. |
| X_CHINESE_ETEN | The x-Chinese-Eten encoding. |
| X_CP20003 | The x-cp20003 encoding. |
| X_CP20004 | The x-cp20004 encoding. |
| X_CP20005 | The x-cp20005 encoding. |
| X_IA5 | The x-IA5 encoding. |
| X_IA5_GERMAN | The x-IA5-German encoding. |
| X_IA5_SWEDISH | The x-IA5-Swedish encoding. |
| X_IA5_NORWEGIAN | The x-IA5-Norwegian encoding. |
| US_ASCII | The us-ascii encoding. |
| X_CP20261 | The x-cp20261 encoding. |
| X_CP20269 | The x-cp20269 encoding. |
| IBM273 | The IBM273 encoding. |
| IBM277 | The IBM277 encoding. |
| IBM278 | The IBM278 encoding. |
| IBM280 | The IBM280 encoding. |
| IBM284 | The IBM284 encoding. |
| IBM285 | The IBM285 encoding. |
| IBM290 | The IBM290 encoding. |
| IBM297 | The IBM297 encoding. |
| IBM420 | The IBM420 encoding. |
| IBM423 | The IBM423 encoding. |
| IBM424 | The IBM424 encoding. |
| X_EBCDIC_KOREAN_EXTENDED | The x-EBCDIC-KoreanExtended encoding. |
| IBM_THAI | The IBM-Thai encoding. |
| KOI8_R | The koi8-r encoding. |
| IBM871 | The IBM871 encoding. |
| IBM880 | The IBM880 encoding. |
| IBM905 | The IBM905 encoding. |
| IBM00924 | The IBM00924 encoding. |
| EUC_JP | The euc-jp encoding. |
| X_CP20936 | The x-cp20936 encoding. |
| X_CP20949 | The x-cp20949 encoding. |
| CP1025 | The cp1025 encoding. |
| KOI8_U | The koi8-u encoding. |
| ISO_8859_1 | The iso-8859-1 encoding. |
| ISO_8859_2 | The iso-8859-2 encoding. |
| ISO_8859_3 | The iso-8859-3 encoding. |
| ISO_8859_4 | The iso-8859-4 encoding. |
| ISO_8859_5 | The iso-8859-5 encoding. |
| ISO_8859_6 | The iso-8859-6 encoding. |
| ISO_8859_7 | The iso-8859-7 encoding. |
| ISO_8859_8 | The iso-8859-8 encoding. |
| ISO_8859_9 | The iso-8859-9 encoding. |
| ISO_8859_13 | The iso-8859-13 encoding. |
| ISO_8859_15 | The iso-8859-15 encoding. |
| X_EUROPA | The x-Europa encoding. |
| ISO_8859_8_I | The iso-8859-8-i encoding. |
| ISO_2022_JP | The iso-2022-jp encoding. |
| CS_ISO2022JP | The csISO2022JP encoding. |
| ISO_2022_KR | The iso-2022-kr encoding. |
| X_CP50227 | The x-cp50227 encoding. |
| EUC_CN | The EUC-CN encoding. |
| EUC_KR | The euc-kr encoding. |
| HZ_GB_2312 | The hz-gb-2312 encoding. |
| GB18030 | The GB18030 encoding. |
| X_ISCII_DE | The x-iscii-de encoding. |
| X_ISCII_BE | The x-iscii-be encoding. |
| X_ISCII_TA | The x-iscii-ta encoding. |
| X_ISCII_TE | The x-iscii-te encoding. |
| X_ISCII_AS | The x-iscii-as encoding. |
| X_ISCII_OR | The x-iscii-or encoding. |
| X_ISCII_KA | The x-iscii-ka encoding. |
| X_ISCII_MA | The x-iscii-ma encoding. |
| X_ISCII_GU | The x-iscii-gu encoding. |
| X_ISCII_PA | The x-iscii-pa encoding. |
| UTF_7 | The utf-7 encoding. |
| UTF_8 | The utf-8 encoding. |
from groupdocs.search.common import Encodings
def on_file_indexing(sender, args):
if args.document_full_path.lower().endswith(".txt"):
args.encoding = Encodings.WINDOWS_1253
index.events.file_indexing += on_file_indexing
- module
groupdocs.search.common
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.