Re: [Vala] Printing Unicode Characters
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Printing Unicode Characters
- Date: Mon, 30 Nov 2009 18:58:44 +0100
Emad Al-Bloushi wrote:
Dears,
I would like to print unichar via stdout.printf how can I do that ?
Best regards,
The GLib documentation mentions 'g_utf32_to_utf8()' to print values of
gunichar to text:
http://library.gnome.org/devel/glib/stable/glib-Unicode-Manipulation.html#gunichar
However, this function does not exist and two weeks ago the
documentation was updated to suggest the use of 'g_ucs4_to_utf8()':
http://mail.gnome.org/archives/svn-commits-list/2009-November/msg03833.html
This method does not seem to be bound by Vala at the moment. Maybe
'unichar' should have 'to_string()' helper method in 'glib-2.0.vapi'.
Best regards,
Frederik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]