Text.FromCString
From Xojo Documentation
Shared Method
Creates a new Text object from a CString, interpreting it using the given encoding.
Exceptions
- NilObjectException if str is Nil or encoding is Nil.
- UnsupportedFormatException if str is not valid for the given encoding.