Rafal Luzynski wrote: > > Not that anyone ever uses the wide code.... > > AFAIK it's commonly used on Windows platform. I guess this is a good > target if Gnulib is supposed to provide the GNU API on non-GNU platforms.
No. wchar_t[] APIs are too broken for application use in general [1]. On Windows platforms, the only reasonable use of wchar_t arrays you can make is to interface to the Windows API functions, and *nothing else*. Gnulib will *not* recommend or favour the use of wchar_t[] APIs in applicative code. Bruno [1] https://www.gnu.org/software/libunistring/manual/html_node/The-wchar_005ft-mess.html