From 5fdf772f0fd5e403462a4a0e6860919606e1e78e Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Fri, 23 Feb 2018 12:09:36 -0700 Subject: [PATCH 1/2] Add ARMSCII_8 to encodings lookup. --- src/all.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/all.rs b/src/all.rs index dc34bdf6..e071414c 100644 --- a/src/all.rs +++ b/src/all.rs @@ -96,6 +96,7 @@ pub fn encodings() -> &'static [EncodingRef] { const ENCODINGS: &'static [EncodingRef] = &[ ERROR, ASCII, + ARMSCII_8, IBM866, ISO_8859_1, ISO_8859_2, From 0ad3d186f35d87574ee894b16477e157b759ee80 Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Thu, 1 Mar 2018 20:46:11 -0700 Subject: [PATCH 2/2] Add armscii-8 entry to README.md list --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a058c5be..dab95348 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,7 @@ See the additional documents on `encoding::types` module for more information on Encoding covers all encodings specified by WHATWG Encoding Standard and some more: * 7-bit strict ASCII (`ascii`) +* ArmSCII-8 (`armscii-8`) * UTF-8 (`utf-8`) * UTF-16 in little endian (`utf-16` or `utf-16le`) and big endian (`utf-16be`) * All single byte encoding in WHATWG Encoding Standard: