summaryrefslogtreecommitdiffstats
path: root/vncviewer_unix/vncviewer.cxx
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2005-01-25 08:31:31 +0000
committerPeter Åstrand <astrand@cendio.se>2005-01-25 08:31:31 +0000
commitccccd8e9f37dcc7f2d01158e17cd63508942ace7 (patch)
tree7c7ac3720d86c60ea8a8cf095834fb7c9f0e7a95 /vncviewer_unix/vncviewer.cxx
parent1c6ad92b4dd3c8263cb0a6d86b7419d79af40f46 (diff)
downloadtigervnc-ccccd8e9f37dcc7f2d01158e17cd63508942ace7.tar.gz
tigervnc-ccccd8e9f37dcc7f2d01158e17cd63508942ace7.zip
Make sure translations works in an UTF8 environment.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@124 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer_unix/vncviewer.cxx')
-rw-r--r--vncviewer_unix/vncviewer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer_unix/vncviewer.cxx b/vncviewer_unix/vncviewer.cxx
index e8e14b1c..7954647c 100644
--- a/vncviewer_unix/vncviewer.cxx
+++ b/vncviewer_unix/vncviewer.cxx
@@ -194,6 +194,8 @@ int main(int argc, char** argv)
buildtime);
fprintf(stderr,"\n%s\n", aboutText);
+ bind_textdomain_codeset(PACKAGE, "iso-8859-1");
+
rfb::initStdIOLoggers();
rfb::LogWriter::setLogParams("*:stderr:30");