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

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to