Re: GNUlib unicode encoding causes smart quotes to be displayed in program's output

2019-12-07 Thread Paul Eggert
On 12/7/19 5:56 AM, Bruno Haible wrote: > So, we should write > L’Oréal and L’chaim with U+2019 > and OʼHara, OʼConnor with U+02BC. I wouldn’t use U+02BC MODIFIER LETTER APOSTROPHE in the Anglicized form of Irish names. The Irish-language spelling is of course quite different, but even then I

Re: Compile error with xlclang++ on AIX

2019-12-07 Thread Bruno Haible
Christian Biesinger wrote: > (tested on the GCC compile farm, gcc119, /opt/IBM/xlC/16.1.0/bin/xlclang++) > > /opt/IBM/xlC/16.1.0/include2/c++/__bsd_locale_fallbacks.h:50:12: > error: no matching function for call to > 'wcsnrtombs' > return wcsnrtombs(__dest, __src, __nwc, __len, __ps); >

Re: GNUlib unicode encoding causes smart quotes to be displayed in program's output

2019-12-07 Thread Pádraig Brady
On 07/12/2019 04:10, Bruno Haible wrote: Wes Hurd wrote: What I meant about smart quotes being dangerous was, if copying the output text that contains smart quotes to use somewhere else (especially in code), the smart quotes have to be manually replaced which is tedious for the user (programmer)

Re: GNUlib unicode encoding causes smart quotes to be displayed in program's output

2019-12-07 Thread Bruno Haible
Pádraig Brady wrote: >It’s awkward for word regex to use right quote (\u2019) >Itʼs best to use apostrophe modifier (\u02BC) Unicode.org recommends: * U+2019 is the preferred character for a punctuation apostrophe, * U+02BC is a glottal stop, used by many languages as a letter of their

document compilation error in C++ mode on NetBSD 8.0

2019-12-07 Thread Bruno Haible
2019-12-07 Bruno Haible Document compilation error in C++ mode on NetBSD 8.0. * doc/posix-headers/monetary.texi: Mention the NetBSD bug. diff --git a/doc/posix-headers/monetary.texi b/doc/posix-headers/monetary.texi index 832e836..21e05c2 100644 --- a/doc/posix-headers/monetary

Re: fix compilation errors in C++ mode on Solaris 10 and Solaris 11

2019-12-07 Thread Bruno Haible
The new C++ stdbool.h test shows a compilation error on Solaris 10 with CC=cc, CXX=CC: gmake[4]: Entering directory '/home/haible/testdir1/build-x86-64-cc/gltests' source='../../gltests/test-stdbool-c++.cc' object='test-stdbool-c++.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../../build-a

Re: [PATCH 0/1] Reduce footprint of xstrtol module

2019-12-07 Thread Bruno Haible
Hi Pino, > > It is possible to have several modules share the same .h file. For example, > > is used by many modules. If you leave xstrtol.h as is, users of the > > module don't need to change their source code, they only need to import the > > new module 'xstrtol-error'. > > A separate .h file,