[Gtk-sharp-list] Convert Strings

Jorge Monsalvo jm_tecno2002 at yahoo.com.ar
Fri Mar 17 23:39:05 EST 2006


I didn't  get good results from the ideas you sent. First MySQL does not
support the encode directive in the connection string (or I couldn't find
the right sintaxis). And I tested some different forms of Encoding class and
none worked.
If someone has a tested function I'll thank you .
 
Regards
 
Jorge Monsalvo
 
 ---Mensaje original-----
De: gtk-sharp-list-bounces at lists.ximian.com
[mailto:gtk-sharp-list-bounces at lists.ximian.com] En nombre de Jorge Monsalvo
Enviado el: Friday, 17 March, 2006 10:57
Para: gtk-sharp-list at lists.ximian.com
Asunto: RE: [Gtk-sharp-list] Convert Strings



Thank you, Victor and Juanval.
 
I'll test both suggestions.
 
Regards
 
Jorge Monsalvo
Argentina

-----Mensaje original-----
De: Victor Rafael Rivarola Soerensen (FANATICO y LOCO por Cristo)
[mailto:vrrivaro at gmail.com] 
Enviado el: Friday, 17 March, 2006 10:46
Para: Jorge Monsalvo
CC: gtk-sharp-list at lists.ximian.com
Asunto: Re: [Gtk-sharp-list] Convert Strings




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/20060318/5784ae71/attachment.html


More information about the Gtk-sharp-list mailing list