From 36a4fe037df201f85b7a544eb30d75dc3585a1b6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 10 Aug 2011 21:54:22 +0200 Subject: [PATCH] Fix charset conversion --- util/hb-view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hb-view.cc b/util/hb-view.cc index a78983e38..9fb6e102e 100644 --- a/util/hb-view.cc +++ b/util/hb-view.cc @@ -212,7 +212,7 @@ parse_options (int argc, char *argv[]) } font_file = argv[1]; - text = g_locale_to_utf8 (argv[2], -1, NULL, NULL, &error); + text = argv[2]; }