Re:Brian Kernighan adds Unicode support to Awk
by jsjohnst on Tuesday August 23, 2022 @07:27PM
(#32572952)
Ok, now I know you’re just trolling. Enjoy and goodbye!
Re:Brian Kernighan adds Unicode support to Awk
by alganet on Tuesday August 23, 2022 @10:14PM
(#32574232)
I'm not kidding. Just look at the code:
https://github.com/onetrueawk/awk/commit/d322b2b5fc16484affb...
I am talking about that environment. You are not.
I'm constantly pointing you _to the awk codebase_. It's a relevant context, the title of the post and it matters. Can you please stop ignoring this? There's no Unicode library there, it's an implementation from scratch.
If you are doing it from scratch, there's a part of the code that will deal with raw bytes, way before they are recognized as Unicode things (whatever they might be).
Ever since this entire post was created, the main context was always this: an implementation from scratch, in an environment that does not have unicode primitives as a first-class citizens. Your string functions don't have \u escapes, YOU are doing the string functions that support \u.