From 564ec3130f3874c3bcc2235976f2d85996c4f770 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 14 Nov 2013 21:09:18 +0100 Subject: [PATCH] [DEV] correction of the loading file --- ejson/ejson.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ejson/ejson.cpp b/ejson/ejson.cpp index 44082bd..fe02f16 100644 --- a/ejson/ejson.cpp +++ b/ejson/ejson.cpp @@ -82,8 +82,7 @@ bool ejson::Document::load(const std::string& _file) { // close the file: tmpFile.fileClose(); - // convert in UTF8 : - std::string tmpDataUnicode(fileBuffer, unicode::charsetUTF8); + std::string tmpDataUnicode(fileBuffer); // remove temporary buffer: delete(fileBuffer); // parse the data :