[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #46756] xgettext 0.19.6 mangles C escapes; causes po
[bug-gettext] [bug #46756] xgettext 0.19.6 mangles C escapes; causes po file corruption
Fri, 25 Dec 2015 23:36:06 +0000
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.5.0
Update of bug #46756 (project gettext):
Status: None => Confirmed
Follow-up Comment #1:
Yes, this is certainly a regression and the character escapes should be
converted before concatenating adjacent strings.
However, it is not straightforward to fix this, now that the \u escape is
introduced. I guess it would be ideally fixed by consolidating encoding
conversion stuff (currently in xgettext.c) into character escape handling
(x-c.c) and do that before string concatenation.
In any case, an easy work around is to use octal escapes.
Reply to this item at:
Message sent via/by Savannah