The OpenD Programming Language

makeUtf8StringFromWindowsString

Converts the Windows API string str to a D UTF-8 string, storing it in buffer. Returns the slice of buffer actually used.

  1. char[] makeUtf8StringFromWindowsString(wchar[] str, char[] buffer)
    version(Windows)
    char[]
    makeUtf8StringFromWindowsString
    (
    in wchar[] str
    ,
    char[] buffer
    )
  2. string makeUtf8StringFromWindowsString(wchar[] str)
  3. string makeUtf8StringFromWindowsString(wchar* str)

Meta

History

Moved from simpledisplay.d to core.d in March 2023 (dub v11.0).