Re: [Vala] embedding c code snippet in vala source.
- From: Jürg Billeter <j bitron ch>
- To: Alexey Lubimov <avl l14 ru>
- Cc: vala-list gnome org
- Subject: Re: [Vala] embedding c code snippet in vala source.
- Date: Fri, 22 Aug 2008 13:22:18 +0200
On Fri, 2008-08-22 at 14:35 +0400, Alexey Lubimov wrote:
Jürg Billeter пишет:
On Fri, 2008-08-22 at 13:28 +0400, Alexey Lubimov wrote:
You can see 15 bugs in vala-0.3.5 sources only...
Most of these look correct from a quick look. The scanner and parser use
byte offsets in most places, not character offsets, so these parts are
encoding-agnostic.
may be, some of this look correct, because work with ascii strings only,
but not all.
for example,
var noquotes = value.offset (1).ndup ((uint) (value.len () - 2));
value.len() return number of characters;
ndup expected bytes;
Anywhere, at this moment vala break 100% support for utf8 strings in
source code.
The parser should correctly handle UTF-8 contents, please file bugs for
concrete issues. I'll check the printf issue as soon as possible.
Thanks,
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]