fun fact there is a semi standard encoding called wtf-8 which is utf-8 extended in a way so that it can represent non well formed utf-16 (bad surrogate code points)
it's used in situations like when a utf-8 based system has to interact with Windows file paths
it's used in situations like when a utf-8 based system has to interact with Windows file paths