diff --git a/std/process.d b/std/process.d index e2282c688..1dc42e087 100644 --- a/std/process.d +++ b/std/process.d @@ -3435,15 +3435,11 @@ version (Windows) { import core.sys.windows.windows; - extern (Windows) - HINSTANCE ShellExecuteA(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd); - - pragma(lib,"shell32.lib"); void browse(string url) { - ShellExecuteA(null, "open", toStringz(url), null, null, SW_SHOWNORMAL); + ShellExecuteW(null, "open", toUTF16z(url), null, null, SW_SHOWNORMAL); } } else version (OSX)