Re: GLib and UTF-8 encoding text-file



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 characters? Can I ask an example?

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.


ralf




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