How do I declare a literal unicode string? For example, with Windows I would simply use:
WCHAR text[] = L"This is a unicode string";
For the Mac, I would like to do something like
UniChar text[] = L"This is a unicode string";
Now I know about CFSTR and CFStringRef, and that is not what I am looking for. Is there a way to declare non-encapsulated literal unicode strings?
Start Free Trial