Mac OS 9 Lives

Mac OS 9 Discussion => Development & Programming => Topic started by: OS923 on March 18, 2019, 04:05:06 AM

Title: Apple UTF-16 -> Unicode
Post by: OS923 on March 18, 2019, 04:05:06 AM
From Wikipedia:

Quote
File and folder names in HFS Plus are also character encoded in UTF-16 and normalized to a form very nearly the same as Unicode Normalization Form D (NFD).

How can I convert this to Unicode?
Title: Re: Apple UTF-16 -> Unicode
Post by: OS923 on March 26, 2019, 06:10:07 AM
I'll ask it this way: does someone have a source code example that draws a Unicode filename on screen?
Title: Re: Apple UTF-16 -> Unicode
Post by: OS923 on April 12, 2019, 08:35:04 AM
Text encoding base = kTextEncodingUnicodeV2_0
Text encoding variant = kUnicodeCanonicalDecompVariant
Text encoding format = kUnicode16BitFormat