fixed utf16-to-utf8 routine for mac in C_TEXT, ARRAY_TEXT