Native TTF name sometimes contains crap

[email protected] Thu, 2 Sep 2021 11:30:02 +0200
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <trinity-465a7af9-7c0a-4c8f-a669-a0b40d64825b-1630575002910@3c-app-gmx-bap38>
Hi,

thanks to your help I'm retrieving the original names of TTFs via function FT_Get_Sfnt_Name() for the encode-ID TT_MS_ID_UNICODE_CS successfully. This seems to work well except for some language-ID's of type TT_MS_LANGID_CHINESE_*. There after decoding the string-member I do not get the correct name but a more or less long array with 췍-character (0xCDCD) only. So it seems there is either something wrong or there is a special encoding used? Any idea how to correctly check and fix this?

Kind regards

Mike