You're getting big endian unicode text. Coerce it to typeUTF8Text
and things might be better for a console printout.
I am not sure how to do that, but isn't there an easy way to make
this a proper NSString?
The text is showing just fine when shown in an NSView, by the way,
when using binding of the NSString variable.
Folks agree that you're not getting a valid input. If you have no
options to change the input, then the easiest thing is to get the raw
bytes and take a chance on something similar to
CFStringCreateFromExternalRepresentation() or CFStringCreateWithFormat
() since we've seen the bytes are big endian. CFStringCreateWithFormat
() presumes a lot in terms of encoding while other raw byte
constructors make you guess.