Re: GLib and UTF-8 encoding text-file

2006-11-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Nov 15, 2006 at 07:55:22PM +0100, Kurucz Istvan wrote: > Hallo... > > On Wed, 15 Nov 2006, Ralf Stephan wrote: > >In C, you would use gunichar* similar to char*, but much more > >comfy is to use C++ and Glib::ustring just like you use std::str

Re: GLib and UTF-8 encoding text-file

2006-11-15 Thread Kurucz Istvan
Hallo... On Wed, 15 Nov 2006, Ralf Stephan wrote: In C, you would use gunichar* similar to char*, but much more comfy is to use C++ and Glib::ustring just like you use std::string. Examples? Download any source and grep. I´m programming in C, and would like to read three characters in UTF-8

Re: GLib and UTF-8 encoding text-file

2006-11-15 Thread Ralf Stephan
You wrote > I want to work with an UTF-8 encoding text contained file in my GLib-using > program. > I have any question: how can I read a given number valid UTF-8 characters > from this file? In which type of variables can I this characters save? And > how can I go on working with this characte

GLib and UTF-8 encoding text-file

2006-11-14 Thread Kurucz Istvan
Hallo, I want to work with an UTF-8 encoding text contained file in my GLib-using program. I have any question: how can I read a given number valid UTF-8 characters from this file? In which type of variables can I this characters save? And how can I go on working with this characters? Can I ask