From cb949ae13a22db0919747626114f2f04581dce03 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 10 Nov 2020 12:10:39 +0800 Subject: [PATCH] Correct ascii behaviour in tool --- ryzom/tools/leveldesign/uni_conv/uni_conv.cpp | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/ryzom/tools/leveldesign/uni_conv/uni_conv.cpp b/ryzom/tools/leveldesign/uni_conv/uni_conv.cpp index d6afe9a57..554fc0f3d 100644 --- a/ryzom/tools/leveldesign/uni_conv/uni_conv.cpp +++ b/ryzom/tools/leveldesign/uni_conv/uni_conv.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -76,21 +77,10 @@ int main(int argc, char *argv[]) ucstring str; CI18N::readTextFile(inputFile, str, false, false); - if (outMode == ASCII) - { - // remove any outof ascii char - ucstring temp; - for (uint i=0; i