From e12e4ff732f51e20a51f061a53beca07d5ef1a23 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Sun, 3 Feb 2019 23:45:15 +0100 Subject: [PATCH] Removed double-question marks --- .../platform/common/platform_common.cpp | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/source/shared_lib/sources/platform/common/platform_common.cpp b/source/shared_lib/sources/platform/common/platform_common.cpp index a27904a13..776fdcebc 100644 --- a/source/shared_lib/sources/platform/common/platform_common.cpp +++ b/source/shared_lib/sources/platform/common/platform_common.cpp @@ -1753,46 +1753,29 @@ namespace Shared { replaceAll(context, "&", "&"); replaceAll(context, "<", "<"); replaceAll(context, ">", ">"); - //replaceAll(context,"Œ","??"); replaceAll(context, "Œ", "\xC5\x92\0"); - //replaceAll(context,"œ","??"); replaceAll(context, "œ", "\xC5\x93\0"); - //replaceAll(context,"Š","??"); replaceAll(context, "Š", "\xC5\xA0\0"); - //replaceAll(context,"š","??"); replaceAll(context, "š", "\xC5\xA1\0"); - //replaceAll(context,"Ÿ","??"); replaceAll(context, "Ÿ", "\xC5\xB8\0"); - replaceAll(context, "ˆ", "??"); - replaceAll(context, "˜", "??"); + replaceAll(context, "ˆ", "ˆ"); + replaceAll(context, "˜", "~"); replaceAll(context, " ", " "); replaceAll(context, " ", " "); replaceAll(context, " ", " "); replaceAll(context, "–", "-"); replaceAll(context, "—", "-"); - //replaceAll(context,"‘","???"); replaceAll(context, "‘", "\xE2\x80\x98\0"); - //replaceAll(context,"’","???"); replaceAll(context, "’", "\xE2\x80\x99\0"); - //replaceAll(context,"‚","???"); replaceAll(context, "‚", "\xE2\x80\x9A\0"); - //replaceAll(context,"“","???"); replaceAll(context, "“", "\xE2\x80\x9C\0"); - //replaceAll(context,"”","???"); replaceAll(context, "”", "\xE2\x80\x9D\0"); - //replaceAll(context,"„","???"); replaceAll(context, "„", "\xE2\x80\x9E\0"); - //replaceAll(context,"†","???"); replaceAll(context, "†", "\xE2\x80\xA0\0"); - //replaceAll(context,"‡","???"); replaceAll(context, "‡", "\xE2\x80\xA1\0"); - //replaceAll(context,"‰","???"); replaceAll(context, "‰", "\xE2\x80\xB0\0"); - //replaceAll(context,"‹","???"); replaceAll(context, "‹", "\xE2\x80\xB9\0"); - //replaceAll(context,"›","???"); replaceAll(context, "›", "\xE2\x80\xBA\0"); - //replaceAll(context,"€","???"); replaceAll(context, "€", "\xE2\x82\xAC\0"); return context;