Re: [Vala] Printing Unicode Characters
- From: Mark Dewey <dewemark gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Printing Unicode Characters
- Date: Wed, 02 Dec 2009 21:42:56 -0700
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]