[cfe-dev] Wide strings and clang::StringLiteral.

Sebastian Redl sebastian.redl at getdesigned.at
Fri Dec 5 02:17:58 PST 2008


On Fri, 05 Dec 2008 11:01:27 +0100, Cédric Venet
<cedric.venet at laposte.net> wrote:
>>> set && string contains only
>>> characters in the range 0-0x7f" and having a slow path for everything
>>> else.
>>>     
>>
>> Ah, right, you want to store the strings in UTF-8.  That seems fine; I
>> expect non-ASCII in strings is very rare
> 
> For french programmes and probably other non-english language, non-ASCII 
> in strings is *not* very rare. Every accentued character is not ascii 
> and Most of the french sentence will have at least one accentued
character.

The question is, how many localized applications of significant size don't
manage their strings in some external resource that doesn't affect
compilation?

Sebastian



More information about the cfe-dev mailing list