Returns a copy of the string, transcoded to the local code page. The caller owns the (char *) string that is
returned, and is responsible for deleting it.
A pointer to a newly allocated buffer of char elements, which represents the original string, but in
the local encoding.
Note: This function is using the toStringz function, and rules of that apply here too.
Returns a copy of the string, transcoded to the local code page. The caller owns the (char *) string that is returned, and is responsible for deleting it.