|
Message-ID: <1415721826.2457.1743.camel@eris.loria.fr>
Date: Tue, 11 Nov 2014 17:03:46 +0100
From: Jens Gustedt <jens.gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] implement a private state for the uchar.h
functions
Am Dienstag, den 11.11.2014, 09:39 -0500 schrieb Rich Felker:
> On Tue, Nov 11, 2014 at 02:53:02PM +0100, Jens Gustedt wrote:
> > - having a standard way to specify unicode characters inside a string
> > of any kind through \u and \U is really a great achievement
>
> Yes and no. I don't think anyone really wants to use these. They're
> unreadable except when used extremely sparingly, and embedding natural
> language text in source is widely frowned upon anyway which limits the
> usefulness. But it is nice to at least have a way if/when you need it.
yes
Unicode is not only for natural language scripts, but also graphics,
mathematics, IPA, other technical stuff and smilies ☺
So for these usages this might come handy.
> > - introducing a u8 prefix for strings that guarantees utf8 encoding
> > for mbs sounds nice. But then there is nothing that relates these
> > to "normal" string literals. What are we supposed to do with these?
>
> Process them with your own code,
at some point I thought the C library was there to provide the basics
for interacting with the environment, probably much too naive :)
> or just pass them to external
> interfaces that expect UTF-8 (e.g. filesystem structures, network
> protocols, etc.).
right, good point
Jens
--
:: INRIA Nancy Grand Est ::: AlGorille ::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536 ::
:: :::::::::::::::::::::: gsm France : +33 651400183 ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.