Your suggestion
Right now API accepts only strings. I think developers may benefit from using spans of chars and utf8 strings directly that require no encoding at runtime on every call.
The problem this suggestion solves
Bad efficiency
Additional context
I had been coding those utf8-utf16 conversions a lot in my personal project.