how would one go about making a UTF-8 aware (or supported) program in C?

I don't have an example or goal to work with, this is mostly a hypothetical for learning purposes.

Besides some basics for how to handle UTF-8 strings in general (as one can glean from other languages' documentation), what types/libraries/documentation exists for handling UTF-8 text in C?

6 points · 2 comments · view on lemmy.world

2 Comments

eleijeep@piefed.social · 5 pts · 6d

You could use GLib which has a gunichar type and a bunch of functions for operating on them

DahGangalang@infosec.pub · 4 pts · 6d