The OpenD Programming Language

makeUtf8StringFromWindowsString

Converts the Windows API string str to a newly-allocated D UTF-8 string.

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

Meta

History

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