Re: [Vala] Printing Unicode Characters



Le lundi 30 novembre 2009 à 18:50 +0100, Jiří Zárevúcky a écrit :
Emad Al-Bloushi píše v Po 30. 11. 2009 v 19:44 +0300:
I have tried this one it works but I do now know if there is alternative solution 

unichar unicode_character = 'ع';
stderr.printf("Unicode Character : %s\n",new StringBuilder("").append_unichar(unicode_character).str);



What about this?

string unicode_character = "ع";
stderr.printf("Unicode Character : %s\n", unicode_character);

And of course, this should work:

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

        Xav





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