bug fix in OSX support functions:

a Unichar is 2 bytes wide, so a char* cannot be simply cast to a
Unichar*
Replace it with proper conversion to UTF8