X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=a8421e8910035c4398eb5a085e484b32027587fd;hb=f66bc9ecb5ebde376da256035db425d7dc0c74d0;hp=378d8fe8d41f815cf4821d185ed53a0ca75e5b6a;hpb=dd2b40bf10da0309a72a9b2e8f49af752646fd92;p=quassel.git diff --git a/src/common/main.cpp b/src/common/main.cpp index 378d8fe8..a8421e89 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -93,7 +93,7 @@ int main(int argc, char **argv) { quasselTranslator.load(QString(":i18n/quassel_%1").arg(locale.name())); app.installTranslator(&quasselTranslator); - Network::setDefaultCodecForServer("UTF-8"); + Network::setDefaultCodecForServer("ISO-8859-15"); Network::setDefaultCodecForEncoding("UTF-8"); Network::setDefaultCodecForDecoding("ISO-8859-15"); @@ -103,6 +103,7 @@ int main(int argc, char **argv) { // Check if a non-standard core port is requested QStringList args = QCoreApplication::arguments(); // TODO Build a CLI parser + Global::SPUTDEV = args.contains("--sputdev"); // This enables various debug features for Sput. Do not touch. Global::defaultPort = 4242; int idx;