From 986325b3b251cba9179482e7af46b8df3a9af914 Mon Sep 17 00:00:00 2001 From: Armin Preiml Date: Mon, 2 Aug 2010 13:22:50 +0200 Subject: [PATCH] Changed decoding code page from ISO-8859-1 to WINDOWS-1252 --- components/esm/esm_reader.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esm/esm_reader.hpp b/components/esm/esm_reader.hpp index 098afc513..70a81e6f4 100644 --- a/components/esm/esm_reader.hpp +++ b/components/esm/esm_reader.hpp @@ -618,13 +618,13 @@ public: return convertToUTF8(res); } - // Convert a string from ISO-8859-1 encoding to UTF-8 + // Convert a string from the encoding used by Morrowind to UTF-8 std::string convertToUTF8(std::string input) { std::string output = ""; //create convert description - iconv_t cd = iconv_open("UTF-8", "ISO-8859-1"); + iconv_t cd = iconv_open("UTF-8", "WINDOWS-1252"); if (cd == (iconv_t)-1) //error handling {