[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode string literals
From: |
Bruno Haible |
Subject: |
Re: Unicode string literals |
Date: |
Sat, 02 May 2020 00:52:24 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Paul Eggert wrote:
> I was thinking about the case where one develops and normally builds on
> systems
> that assume UTF-8 source code (perhaps because a build system is old and just
> compiles the bytes unchecked), but that on occasion a builder might translate
> all the source code to (say) EUC-JP for whatever reason, and then compile on a
> newer platform that supports the u8 prefix.
>
> Admittedly the scenario is unlikely.
Yes, this is unlikely. In a world where people routinely do a "git pull" from
upstream repositories and send patches or pull requests upstream, every
automated downstream manipulation of the source code - even as small as
transforming CR/LF to LF - becomes a PITA.
Bruno