WTF-8 is a generalization of UTF-8 that permits unpaired surrogate code points. It can be used to represent potentially ill-formed UTF-16, as used for path names on Microsoft Windows, for instance.