After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595773 - [scanner] strips escaping backslashes in utf8 constants
[scanner] strips escaping backslashes in utf8 constants
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-09-20 20:55 UTC by Simon van der Linden
Modified: 2015-02-07 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support hexadecimal escapes in constants (4.26 KB, patch)
2010-11-01 18:57 UTC, Colin Walters
committed Details | Review

Description Simon van der Linden 2009-09-20 20:55:37 UTC
#define CONSTANT "const \xe2\x99\xa5 utf8"

gives

<constant name="CONSTANT" value="const xe2x99xa5 utf8">
  <type name="utf8"/>
</constant>
Comment 1 Colin Walters 2010-11-01 18:57:49 UTC
Created attachment 173645 [details] [review]
Support hexadecimal escapes in constants

g_strcompress() only does some of what we need; fork it
and add support for \x escapes too.
Comment 2 Colin Walters 2010-12-02 14:24:12 UTC
Attachment 173645 [details] pushed as aa8b7d2 - Support hexadecimal escapes in constants
Comment 3 André Klapper 2015-02-07 16:45:01 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]