Converts the Windows API string str to a D UTF-8 string, storing it in buffer. Returns the slice of buffer actually used.
Moved from simpledisplay.d to core.d in March 2023 (dub v11.0).
Converts the Windows API string str to a D UTF-8 string, storing it in buffer. Returns the slice of buffer actually used.