mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Add codepage numbers to CharEnc IO_FORMAT
This commit is contained in:
parent
f800fab1a3
commit
0e285151f3
2 changed files with 50 additions and 50 deletions
|
@ -19,50 +19,50 @@ const CharEnc = {
|
|||
* @default
|
||||
*/
|
||||
IO_FORMAT: {
|
||||
"UTF-8": 65001,
|
||||
"UTF-7": 65000,
|
||||
"UTF16LE": 1200,
|
||||
"UTF16BE": 1201,
|
||||
"UTF16": 1201,
|
||||
"IBM EBCDIC International": 500,
|
||||
"IBM EBCDIC US-Canada": 37,
|
||||
"Windows-874 Thai": 874,
|
||||
"Japanese Shift-JIS": 932,
|
||||
"Simplified Chinese GBK": 936,
|
||||
"Korean": 949,
|
||||
"Traditional Chinese Big5": 950,
|
||||
"Windows-1250 Central European": 1250,
|
||||
"Windows-1251 Cyrillic": 1251,
|
||||
"Windows-1252 Latin": 1252,
|
||||
"Windows-1253 Greek": 1253,
|
||||
"Windows-1254 Turkish": 1254,
|
||||
"Windows-1255 Hebrew": 1255,
|
||||
"Windows-1256 Arabic": 1256,
|
||||
"Windows-1257 Baltic": 1257,
|
||||
"Windows-1258 Vietnam": 1258,
|
||||
"US-ASCII": 20127,
|
||||
"Russian Cyrillic KOI8-R": 20866,
|
||||
"Simplified Chinese GB2312": 20936,
|
||||
"KOI8-U Ukrainian Cyrillic": 21866,
|
||||
"ISO-8859-1 Latin 1 (Western European)": 28591,
|
||||
"ISO-8859-2 Latin 2 (Central European)": 28592,
|
||||
"ISO-8859-3 Latin 3": 28593,
|
||||
"ISO-8859-4 Baltic": 28594,
|
||||
"ISO-8859-5 Cyrillic": 28595,
|
||||
"ISO-8859-6 Arabic": 28596,
|
||||
"ISO-8859-7 Greek": 28597,
|
||||
"ISO-8859-8 Hebrew": 28598,
|
||||
"ISO-8859-9 Turkish": 28599,
|
||||
"ISO-8859-10 Latin 6": 28600,
|
||||
"ISO-8859-11 Latin (Thai)": 28601,
|
||||
"ISO-8859-13 Latin 7 (Estonian)": 28603,
|
||||
"ISO-8859-14 Latin 8 (Celtic)": 28604,
|
||||
"ISO-8859-15 Latin 9": 28605,
|
||||
"ISO-8859-16 Latin 10": 28606,
|
||||
"ISO-2022 JIS Japanese": 50222,
|
||||
"EUC Japanese": 51932,
|
||||
"EUC Korean": 51949,
|
||||
"Simplified Chinese GB18030": 54936,
|
||||
"UTF-8 (65001)": 65001,
|
||||
"UTF-7 (65000)": 65000,
|
||||
"UTF16LE (1200)": 1200,
|
||||
"UTF16BE (1201)": 1201,
|
||||
"UTF16 (1201)": 1201,
|
||||
"IBM EBCDIC International (500)": 500,
|
||||
"IBM EBCDIC US-Canada (37)": 37,
|
||||
"Windows-874 Thai (874)": 874,
|
||||
"Japanese Shift-JIS (932)": 932,
|
||||
"Simplified Chinese GBK (936)": 936,
|
||||
"Korean (949)": 949,
|
||||
"Traditional Chinese Big5 (950)": 950,
|
||||
"Windows-1250 Central European (1250)": 1250,
|
||||
"Windows-1251 Cyrillic (1251)": 1251,
|
||||
"Windows-1252 Latin (1252)": 1252,
|
||||
"Windows-1253 Greek (1253)": 1253,
|
||||
"Windows-1254 Turkish (1254)": 1254,
|
||||
"Windows-1255 Hebrew (1255)": 1255,
|
||||
"Windows-1256 Arabic (1256)": 1256,
|
||||
"Windows-1257 Baltic (1257)": 1257,
|
||||
"Windows-1258 Vietnam (1258)": 1258,
|
||||
"US-ASCII (20127)": 20127,
|
||||
"Russian Cyrillic KOI8-R (20866)": 20866,
|
||||
"Simplified Chinese GB2312 (20936)": 20936,
|
||||
"KOI8-U Ukrainian Cyrillic (21866)": 21866,
|
||||
"ISO-8859-1 Latin 1 (Western European) (28591)": 28591,
|
||||
"ISO-8859-2 Latin 2 (Central European) (28592)": 28592,
|
||||
"ISO-8859-3 Latin 3 (28593)": 28593,
|
||||
"ISO-8859-4 Baltic (28594)": 28594,
|
||||
"ISO-8859-5 Cyrillic (28595)": 28595,
|
||||
"ISO-8859-6 Arabic (28596)": 28596,
|
||||
"ISO-8859-7 Greek (28597)": 28597,
|
||||
"ISO-8859-8 Hebrew (28598)": 28598,
|
||||
"ISO-8859-9 Turkish (28599)": 28599,
|
||||
"ISO-8859-10 Latin 6 (28600)": 28600,
|
||||
"ISO-8859-11 Latin (Thai) (28601)": 28601,
|
||||
"ISO-8859-13 Latin 7 (Estonian) (28603)": 28603,
|
||||
"ISO-8859-14 Latin 8 (Celtic) (28604)": 28604,
|
||||
"ISO-8859-15 Latin 9 (28605)": 28605,
|
||||
"ISO-8859-16 Latin 10 (28606)": 28606,
|
||||
"ISO-2022 JIS Japanese (50222)": 50222,
|
||||
"EUC Japanese (51932)": 51932,
|
||||
"EUC Korean (51949)": 51949,
|
||||
"Simplified Chinese GB18030 (54936)": 54936,
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -15,11 +15,11 @@ TestRegister.addTests([
|
|||
recipeConfig: [
|
||||
{
|
||||
"op": "Encode text",
|
||||
"args": ["UTF-8"]
|
||||
"args": ["UTF-8 (65001)"]
|
||||
},
|
||||
{
|
||||
"op": "Decode text",
|
||||
"args": ["UTF-8"]
|
||||
"args": ["UTF-8 (65001)"]
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -30,11 +30,11 @@ TestRegister.addTests([
|
|||
recipeConfig: [
|
||||
{
|
||||
"op": "Encode text",
|
||||
"args": ["UTF-8"]
|
||||
"args": ["UTF-8 (65001)"]
|
||||
},
|
||||
{
|
||||
"op": "Decode text",
|
||||
"args": ["UTF-8"]
|
||||
"args": ["UTF-8 (65001)"]
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -45,7 +45,7 @@ TestRegister.addTests([
|
|||
recipeConfig: [
|
||||
{
|
||||
"op": "Encode text",
|
||||
"args": ["IBM EBCDIC International"]
|
||||
"args": ["IBM EBCDIC International (500)"]
|
||||
},
|
||||
{
|
||||
"op": "To Hex",
|
||||
|
@ -64,7 +64,7 @@ TestRegister.addTests([
|
|||
},
|
||||
{
|
||||
"op": "Decode text",
|
||||
"args": ["IBM EBCDIC International"]
|
||||
"args": ["IBM EBCDIC International (500)"]
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue