Andreas Schwab <[email protected]> writes: > On Sep 15 2025, Chet Ramey wrote: > >> On 9/13/25 10:55 AM, Lawrence Velázquez wrote: >> >>> Yeah, I misunderstood how locale_setblanks [1] works. Its function >>> comment is: >>> Set every character in the <blank> character class to be a >>> shell break character for the lexical analyzer when the >>> locale changes. >>> But it seems to only consider 0x00 through 0xFF, which are tabulated >>> into syntax.c at build time [2]. >> >> That's the domain of isblank(3). > > Which makes it useless for Unicode. You need to use iswblank instead.
Worth mentioning that iswblank on some systems behaves like isblank (only SPACE and TAB). This caused some problems in Coreutils [1]. Collin [1] https://lists.gnu.org/archive/html/bug-coreutils/2025-08/msg00076.html
