[gnome-db] [Patch] Mergeant does not display Latin1 characters...



Hi!

It seems that when i store the data in UTF8, mergeant fails to render
the correct string.

The providers are supposed to return utf8 strings and I realized that
server-rs.c does one more conversion...

Ok to commit?

-Gonzalo
-- 
Gonzalo Paniagua Javier <gonzalo gnome-db org>
http://www.gnome-db.org/~gonzalo/



Index: server-rs.c
===================================================================
RCS file: /cvs/gnome/mergeant/src/server-rs.c,v
retrieving revision 1.5
diff -u -r1.5 server-rs.c
--- server-rs.c	27 Dec 2002 21:21:19 -0000	1.5
+++ server-rs.c	7 Apr 2003 01:11:06 -0000
@@ -296,13 +296,11 @@
 gchar *
 server_resultset_stringify (const GdaValue * value)
 {
-	gchar *retval, *str;
+	gchar *retval;
 
 	g_return_val_if_fail (value, NULL);
 
-	str = gda_value_stringify (value);
-	retval = g_locale_to_utf8 (str, -1, NULL, NULL, NULL);
-	g_free (str);
+	retval = gda_value_stringify (value);
 
 	return retval;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]