[Gtk-sharp-list] Convert Strings

Victor Rafael Rivarola Soerensen (FANATICO y LOCO por Cristo) vrrivaro at gmail.com
Fri Mar 17 08:45:44 EST 2006


2006/3/17, Jorge Monsalvo <jm_tecno2002 at yahoo.com.ar>:
>
>         Can somebody point me to the right direction to get a function to
> use?. I remember that in C with plain gtk I used "g_locale_from_utf8"
> function, but I can't find something like that in Gtk#.
>
> Thanks to you all
>
> Regards
>
> Jorge Monsalvo
> Argentina
>

Sure, Jorge.

Your problem might not be in your own app, but in the way it opens the MySQL
connection. In PostgreSQL, I used to run into similar problems until I added
";Encoding=UNICODE" to my connection string. So, what I would suggest you on
doing is to search the MySQL documentation for the way to tell it you will
use UNICODE strings to talk to it, not ISO-8859-1 or ISO-8859-15.

Jesus bless you,

Víctor Rafael Rivarola

--
FANÁTICO
"Por cuanto eres tibio, y no frío ni caliente, te vomitaré de mi boca."
Apocalipsis 3:16

LOCO
"Porque la Palabra de la Cruz es locura para los que se pierden; pero a
los que se salvan, esto es, a nosotros, es poder de Dios."
1 Corintios 1:18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060317/00bdc4a1/attachment.html


More information about the Gtk-sharp-list mailing list