From 84a67afa9d590f6b672c593c1515b9c1d6807c78 Mon Sep 17 00:00:00 2001 From: lexborisov Date: Sun, 21 May 2017 15:25:31 +0300 Subject: [PATCH] Fix for encoding name index https://github.com/lexborisov/myhtml/issues/106 --- include/myencoding/detect_resource.h | 1 + source/myencoding/detect_resource.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/myencoding/detect_resource.h b/include/myencoding/detect_resource.h index 3aba646..7e7a06d 100644 --- a/include/myencoding/detect_resource.h +++ b/include/myencoding/detect_resource.h @@ -533,6 +533,7 @@ static const myencoding_entry_name_index_t myencoding_entry_name_index_static_li {"UTF-8", 5}, {"AUTO", 4}, {"NOT-DETERMINED", 14}, + {"NOT-DETERMINED", 14}, {"UTF-16LE", 8}, {"UTF-16BE", 8}, {"X-USER-DEFINED", 14}, diff --git a/source/myencoding/detect_resource.h b/source/myencoding/detect_resource.h index 2e33713..46386d5 100644 --- a/source/myencoding/detect_resource.h +++ b/source/myencoding/detect_resource.h @@ -533,6 +533,7 @@ static const myencoding_entry_name_index_t myencoding_entry_name_index_static_li {"UTF-8", 5}, {"AUTO", 4}, {"NOT-DETERMINED", 14}, + {"NOT-DETERMINED", 14}, {"UTF-16LE", 8}, {"UTF-16BE", 8}, {"X-USER-DEFINED", 14},