Re: [Vala] Printing Unicode Characters
- From: Xavier Bestel <xavier bestel free fr>
- To: Jiří Zárevúcky <zarevucky jiri gmail com>
- Cc: Vala List <vala-list gnome org>
- Subject: Re: [Vala] Printing Unicode Characters
- Date: Mon, 30 Nov 2009 19:20:24 +0100
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]