News for hackers. Stuff that matters.
Re:Brian Kernighan adds Unicode support to Awk by timakro on Saturday August 20, 2022 @03:25PM (#32534543)
So it turns out the default on Debian is mawk which does NOT support Unicode. Thanks for pointing that out. This simple test gives different results for gawk and mawk.

  $ echo 'ö' | awk '{print length}'
Re:Brian Kernighan adds Unicode support to Awk by layer8 on Saturday August 20, 2022 @06:08PM (#32535584)
…only if the current locale is set to use UTF-8 (or some other variable-width encoding). Which nowadays the default locale usually does, but in principle it doesn’t need to be.