From 76a22fabcd8542b038b7f2077b4fd5651f495182 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 27 Sep 2010 17:36:10 +0000 Subject: [PATCH] Better fix for encoding issue --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 412e05207..f7d6d2e9a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -178,7 +178,7 @@ int main(int argc, char *argv[]){ for (int a = 1; a < argc; ++a) { QString p = QString::fromLocal8Bit(argv[a]); if(p.startsWith("--")) continue; - message += QString::fromLocal8Bit(argv[a]); + message += p; if (a < argc-1) message += "|"; }