Function toUTF8

replacement of deprecated std.utf.toUTF8

string toUTF8(
  dstring str
);