[goffice] Encoding: downplay 8859 and system charset.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Encoding: downplay 8859 and system charset.
- Date: Thu, 1 Jan 2015 00:12:07 +0000 (UTC)
commit d8edbc6221712b5350716a616e58dcf56a444c2f
Author: Morten Welinder <terra gnome org>
Date: Wed Dec 31 19:11:35 2014 -0500
Encoding: downplay 8859 and system charset.
goffice/utils/go-glib-extras.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/goffice/utils/go-glib-extras.c b/goffice/utils/go-glib-extras.c
index 7750f45..0d23da6 100644
--- a/goffice/utils/go-glib-extras.c
+++ b/goffice/utils/go-glib-extras.c
@@ -774,10 +774,10 @@ go_guess_encoding (const char *raw, size_t len, const char *user_guess,
}
break;
}
- case 3: g_get_charset (&guess); break;
- case 4: guess = "ASCII"; break;
- case 5: guess = "ISO-8859-1"; break;
- case 6: guess = "UTF-8"; break;
+ case 3: guess = "ASCII"; break;
+ case 4: guess = "UTF-8"; break;
+ case 5: g_get_charset (&guess); break;
+ case 6: guess = "ISO-8859-1"; break;
default: return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]