Function convertUTF16ztoUTF8

Converts UTF-16 zero-terminated string to UTF-8

char[] convertUTF16ztoUTF8 (
  wchar* s,
  bool nullTerm = false
);