On 19/11/2024 17:34, Bruno Haible wrote: > Pádraig Brady wrote: >> I would prefer to bypass the ASCII case if CODE >= 0 && CODE < 128. >> However is that generally correct? > > Yes, at least for CODE >= 32 && CODE < 128 it is correct. > This can be seen from the list of supported locale encodings in > gnulib/lib/localcharset.h. OK I've adjusted our test to use \u00032 instead, and tested the attached code, which I'll push later. thanks, Pádraig