Re:Revisiting the design approach to Zig
by dingdingdang on Tuesday September 06, 2022 @11:26AM
(#32738412)
No standard utf8 string library is scary - I would happily learn all the mem gymnastics to make this work but fiddling with competing UTF8 libraries as is the case with C/C++ is just not my cuppa.
[ Parent
| on HN ]
Re:Revisiting the design approach to Zig
by anonymoushn on Tuesday September 06, 2022 @11:38AM
(#32738617)
There are functions for handling utf8 in the standard library.
Re:Revisiting the design approach to Zig
by dingdingdang on Tuesday September 06, 2022 @04:48PM
(#32742997)
Well, there's functions for working with code points within the bytes that (may) make up utf8 strings.. in order to do actual string level manipulation a library is needed (such as https://github.com/jecolon/ziglyph or others)