]> Dogcows Code - chaz/openbox/blobdiff - src/main.cc
use the UTF-8 codeset
[chaz/openbox] / src / main.cc
index a8312af5574dc43181ca6b4d5f6825dfee9be7c0..94fefacc459c7d0001f376edd9342357ccbaf6d1 100644 (file)
@@ -1,4 +1,4 @@
-// -*- mode: C++; indent-tabs-mode: nil; -*-
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
 /*! @file main.cc
   @brief Main entry point for the application
@@ -16,15 +16,13 @@ extern "C" {
 #include "gettext.h"
 }
 
-#include <string>
-using std::string;
-
 #include "openbox.hh"
 
 int main(int argc, char **argv) {
   // initialize the locale
   setlocale(LC_ALL, "");
   bindtextdomain(PACKAGE, LOCALEDIR);
+  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
   textdomain(PACKAGE);
 
   ob::Openbox openbox(argc, argv);
This page took 0.021122 seconds and 4 git commands to generate.