Re: doc: New chapter "Strings and Characters"

2023-06-19 Thread Bruno Haible
Hi Paul, Thanks for the feedback. > > +The @posixheader{ctype.h} API, that was designed only with unibyte > > +encodings in mind, is useless nowadays; it does not work in > > +multibyte locales. > > It's still useful, even in multibyte locales, when dealing with data > that is inherently unibyt

Re: doc: New chapter "Strings and Characters"

2023-06-19 Thread Bruno Haible
Paul Eggert wrote on 2023-05-16: > Em dash (---) shouldn't have spaces around it; if you like those spaces > (which I kind of do) please use en dash (--). I agree, also after reading [1] and [2]. Thanks for the advice. Done. [1] https://en.wikipedia.org/wiki/Dash#En_dash_versus_em_dash [2] http

Re: doc: New chapter "Strings and Characters"

2023-05-15 Thread Paul Eggert
Thanks for writing that. A quick review: Em dash (---) shouldn't have spaces around it; if you like those spaces (which I kind of do) please use en dash (--). +It is important to realize that the majority of Unix installations +nowadays use UTF-8 or GB18030 as locale encoding; therefore, the

doc: New chapter "Strings and Characters"

2023-05-15 Thread Bruno Haible
wide character strings. 2023-05-15 Bruno Haible doc: New chapter "Strings and Characters". * doc/strings.texi: New file. * doc/gnulib.texi (POSIXURL): New variable. (posixheader, posixfunc, func): New macros, from GNU libunistring's