String from dylib

I am getting a String returned from a dylib. The String value that I am expecting from the dylib is

"Simon."

and what I am getting is

"S*i*m*o*n*.*" Where each asterisk is Chr(0)

How do I convert this String variable so that it shows the string without the 00 bytes?

The string is using a multi-byte encoding. Try DefineEncoding("S*i*m*o*n*.*", Encodings.UTF8).

This is no UTF8 encoding. Better try UTF16BE or UTF16LE and use convertEncoding to UTF8.