[Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gt
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10027 >
Brett Albertson wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10027 >
>
> BTW, apparently the "646" encoding on Solaris is infamous. It stands
> for ASCII, but isn't recognized by iconv_open().
Ugh. Here's a similar patch for freeciv (but without the comments it
obviously needs). Does this work? Are you sure we should use UTF-8
here and not ISO-8859-1?
Test to see if the output of non-ascii characters on the server command
line (like in "/list") is correct. Try under UTF-8 and ISO-8859-1.
jason
Index: utility/fciconv.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/utility/fciconv.c,v
retrieving revision 1.3
diff -u -r1.3 fciconv.c
--- utility/fciconv.c 10 Sep 2004 21:51:47 -0000 1.3
+++ utility/fciconv.c 10 Sep 2004 23:54:31 -0000
@@ -76,6 +76,10 @@
* encoding is unconfigured. */
local_encoding = "ISO-8859-1";
}
+
+ if (mystrcasecmp(local_encoding, "646") == 0) {
+ local_encoding = "UTF-8";
+ }
}
/* Set the internal encoding - first check $FREECIV_INTERNAL_ENCODING,
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Jason Short, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Jason Short, 2004/09/10
- [Freeciv-Dev] (PR#10027) Re: (PR#10029) (civclient:12460): WARNING **: Invalid UTF8 string passed to pango_layout_set_text(), Jason Short, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Jason Short, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed,
Jason Short <=
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Jason Short, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Jason Short, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Brett Albertson, 2004/09/10
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Jason Short, 2004/09/10
- [Freeciv-Dev] Re: (PR#10027) (civclient:12460): Gtk-CRITICAL **: file gtktextbuffer.c: line 548: assertion `g_utf8_validate (text, len, NULL)' failed, Vasco Alexandre da Silva Costa, 2004/09/11
|
|