[Development] RFC: Defaulting to or enforcing UTF-8 locales on Unix systems

André Pönitz apoenitz at t-online.de
Mon Nov 4 20:18:12 CET 2019


On Mon, Nov 04, 2019 at 09:40:00AM +0000, Edward Welbourne wrote:
> Indeed, what program would have problems in C.UTF-8 yet have a
> non-Unicode locale in which it works nicely ?

Other example:

    echo x |  LC_ALL="C.UTF-8" gcc -xc -

and

    echo x |  LC_ALL="C" gcc -xc -

produce different output.

A parser accepting the output of one might or might not be able to
handle the second.

Andre'


More information about the Development mailing list