From 41f3b757f1bececdd1b115ec98e24d533fd159ea Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 17 Nov 2015 18:51:45 +0100 Subject: [PATCH] Some more encoding names changed to be iconv-compatible. I forgot to fix some names. In particular "x-mac-cyrillic" is not valid in iconv, and has been changed to "MAC-CYRILLIC". --- src/LangBulgarianModel.cpp | 2 +- src/LangCyrillicModel.cpp | 4 ++-- src/LangGreekModel.cpp | 2 +- src/LangHebrewModel.cpp | 2 +- src/LangHungarianModel.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/LangBulgarianModel.cpp b/src/LangBulgarianModel.cpp index 0f73282..379cc5f 100644 --- a/src/LangBulgarianModel.cpp +++ b/src/LangBulgarianModel.cpp @@ -241,5 +241,5 @@ const SequenceModel Win1251BulgarianModel = BulgarianLangModel, (float)0.969392, PR_FALSE, - "windows-1251" + "WINDOWS-1251" }; diff --git a/src/LangCyrillicModel.cpp b/src/LangCyrillicModel.cpp index d8e73e8..9be222d 100644 --- a/src/LangCyrillicModel.cpp +++ b/src/LangCyrillicModel.cpp @@ -315,7 +315,7 @@ const SequenceModel Win1251Model = RussianLangModel, (float)0.976601, PR_FALSE, - "windows-1251" + "WINDOWS-1251" }; const SequenceModel Latin5Model = @@ -333,7 +333,7 @@ const SequenceModel MacCyrillicModel = RussianLangModel, (float)0.976601, PR_FALSE, - "x-mac-cyrillic" + "MAC-CYRILLIC" }; const SequenceModel Ibm866Model = diff --git a/src/LangGreekModel.cpp b/src/LangGreekModel.cpp index 30c65dc..8040c99 100644 --- a/src/LangGreekModel.cpp +++ b/src/LangGreekModel.cpp @@ -240,5 +240,5 @@ const SequenceModel Win1253Model = GreekLangModel, (float)0.982851, PR_FALSE, - "windows-1253" + "WINDOWS-1253" }; diff --git a/src/LangHebrewModel.cpp b/src/LangHebrewModel.cpp index a4e10ad..523203e 100644 --- a/src/LangHebrewModel.cpp +++ b/src/LangHebrewModel.cpp @@ -214,6 +214,6 @@ const SequenceModel Win1255Model = HebrewLangModel, (float)0.984004, PR_FALSE, - "windows-1255" + "WINDOWS-1255" }; diff --git a/src/LangHungarianModel.cpp b/src/LangHungarianModel.cpp index 3af2f58..7eecf4e 100644 --- a/src/LangHungarianModel.cpp +++ b/src/LangHungarianModel.cpp @@ -238,5 +238,5 @@ const SequenceModel Win1250HungarianModel = HungarianLangModel, (float)0.947368, PR_TRUE, - "windows-1250" + "WINDOWS-1250" };