Re: GLib and UTF-8 encoding text-file



-----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::string.

Examples? Download any source and grep.

IÂm programming in C, and would like to read three characters in UTF-8 
encoding text-file.

Have a look at this:

  <http://developer.gnome.org/doc/API/2.0/glib/glib-Unicode-Manipulation.html>

and

  <http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html>

(Sorry, I haven't any examples lying around)

Regards
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFW/YYBcgs9XrR2kYRAsIlAJ41ujFuTQkrTPV5xzKbLfIXpG7nwQCfXOzL
n9ty86lHu7eJm8BI5DI9VeQ=
=umVM
-----END PGP SIGNATURE-----




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