bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xgettext and universal character names (\uXXXX and \UXXXXXXXX)


From: Paul Eggert
Subject: Re: xgettext and universal character names (\uXXXX and \UXXXXXXXX)
Date: Fri, 18 Mar 2011 09:46:20 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

On 03/18/2011 07:06 AM, Tobias Germer wrote:

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]