Two functions to aid in editing utf8 strings, by converting to and from UCS-4.
As a vector of 32bit code points you can add and delete characters freely without worrying about different 'glyphs' being different numbers of bytes.
C++ built in conversions seem hard to use or even depreciated. 🤨
See main.cpp for how to use. No rocket science here.
Based on two C routines written by Jeff Bezanson. See ref directory for full copy of his routines. He did the hard part. 😁