[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] Re: xgettext and universal character names (\uXXXX and \UX
From: |
Tobias Germer |
Subject: |
[bug-gettext] Re: xgettext and universal character names (\uXXXX and \UXXXXXXXX) |
Date: |
Thu, 24 Mar 2011 08:56:08 +0100 |
> > Say I want to translate the following:
> >
> > std::cout << "This is a translated string \u00A0 \U000020AC \n";
> >
> > xgettext extracts the following text:
> >
> > msgid "This is a translated string \\u00A0 \\U000020AC \n"
> >
> > So xgettext doesn't seem to recognize \uXXXX or \UXXXXXXXX
sequences.
> > It just escapes the backslashes (as opposed to \n in this example).
I
> > think it should output instead:
> >
> > msgid "This is a translated string \u00A0 \U000020AC \n"
> >
> > Is this a bug or did I get something wrong? If it's a bug is there
> > any plan or idea how to fix it?
>
> It does appear to be an issue, but this bug report should be sent to
> bug-gnu-gettext, which I am CC:ing to now.
Because bug-gnu-gettext now redirects to bug-gettext I'd like to repost
it here (I recently posted it on bug-gnu-utils). Has anybody an opinion
or an idea how to solve this?
- Tobias
--
Dr. Tobias Germer | address@hidden
Software Engineer
think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany
http://www.think-cell.com | phone +49 30 666473-10 | US phone +1 800 891 8091
Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gettext] Re: xgettext and universal character names (\uXXXX and \UXXXXXXXX),
Tobias Germer <=