[Top][All Lists]

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

Re: Unicode string literals

From: Paul Eggert
Subject: Re: Unicode string literals
Date: Thu, 30 Apr 2020 13:54:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 4/30/20 6:08 AM, Bruno Haible wrote:
> These not-so-new compilers don't perform
> character set conversion; you have to provide the numeric value of each
> byte yourself (either as escapes, or by enumerating the bytes of the
> string one by one).

Could we have a macro to be used only in source code encoded via UTF-8?
Presumably the older compilers would process the bytes of the string as if they
were individual 8-bit characters and would pass them through unchanged, so the
run-time string would be UTF-8 too.

reply via email to

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