[gnome-terminal/gnome-2-30] Bug 144000 - encodings other than the current encoding are not listed in gnome-terminal on Solaris.
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-2-30] Bug 144000 - encodings other than the current encoding are not listed in gnome-terminal on Solaris.
- Date: Sat, 12 Jun 2010 15:33:05 +0000 (UTC)
commit 070f453af5b25aff7a7fb682038c007d2b16b695
Author: Behdad Esfahbod <behdad behdad org>
Date: Fri Jun 11 19:07:52 2010 -0400
Bug 144000 - encodings other than the current encoding are not listed in gnome-terminal on Solaris.
src/terminal-encoding.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-encoding.c b/src/terminal-encoding.c
index d95b0ce..3dc2f17 100644
--- a/src/terminal-encoding.c
+++ b/src/terminal-encoding.c
@@ -202,7 +202,7 @@ terminal_encoding_is_valid (TerminalEncoding *encoding)
* which the underlying GIConv implementation can't support.
*/
converted = g_convert (ascii_sample, sizeof (ascii_sample) - 1,
- encoding->charset, "ASCII",
+ encoding->charset, "UTF-8",
&bytes_read, &bytes_written, &error);
/* The encoding is only valid if ASCII passes through cleanly. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]