Re: [Vala] Printing Unicode Characters



Xavier Bestel wrote:
And of course, this should work:

stderr.printf("Unicode Character : ع\n");

Yep. It's UTF-8 by default. Just get the characters straight from your
character map, through your compose key, or through ctrl+shift+u
(inputing the value) and put them in. Now, how to deal with non-Unicode
characters is another thing. For that you might want to try iconv,
string.locate_to_utf8(), or most probably GLib.convert().




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