|
From: | Bruno Haible |
Subject: | Re: Changes in nl_langinfo() and strftime() API in glibc |
Date: | Wed, 31 Jan 2018 08:28:07 +0100 |
User-agent: | KMail/5.1.3 (Linux/4.4.0-104-generic; KDE/5.18.0; x86_64; ; ) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |