Commit 1a208a5a authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix processing of non-ASCII string literals, patch by Alexey Lubimov,

2008-09-25  Jürg Billeter  <j@bitron.ch>

	* vala/valastringliteral.vala:

	Fix processing of non-ASCII string literals,
	patch by Alexey Lubimov, fixes bug 547236

svn path=/trunk/; revision=1781
parent 0ee9bb3a
2008-09-25 Jürg Billeter <j@bitron.ch>
* vala/valastringliteral.vala:
Fix processing of non-ASCII string literals,
patch by Alexey Lubimov, fixes bug 547236
2008-09-25 Jürg Billeter <j@bitron.ch>
* vapi/packages/libsoup-2.2:
......
......@@ -3,6 +3,7 @@ The Vala team would like to thank the following contributors:
Abderrahim Kitouni
Alberto Ruiz
Alexandre Moreira
Alexey Lubimov
Ali Sabil
Amos Brocco
Andrea Del Signore
......
......@@ -54,7 +54,7 @@ public class Vala.StringLiteral : Literal {
}
/* remove quotes */
var noquotes = value.offset (1).ndup ((uint) (value.len () - 2));
var noquotes = value.substring (1, (uint) (value.len () - 2));
/* unescape string */
return noquotes.compress ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment