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 ::