- Electron version:
  1.1.1
- Operating system:
  win 10

I want to open a dir in local disk on windows, but noticed if there are some chinese chars in the path, it just did not work

you can reproduce it by create a dir named "测试" and try to open that path

( I  did not test on newer electron version as I have to stick to electron 1.1.1 for there is a serious bug in later electron version https://github.com/electron/electron/issues/5844 )

atom/common/platform_util_win.cc
return false;
  } else {
    
    if (FAILED(pfo->SetOperationFlags(FOF_NO_UI |
                                      FOF_ALLOWUNDO |
                                      FOF_NOERRORUI |
                                      FOF_SILENT |
                                      FOFX_SHOWELEVATIONPROMPT)))
      return false;
  }
  
  base::win::ScopedComPtr<IShellItem> delete_item;
  if (FAILED(SHCreateItemFromParsingName(path.value().c_str(),
                                         NULL,
                                         IID_PPV_ARGS(delete_item.Receive()))))
    return false;
  base::win::ScopedComPtr<IFileOperationProgressSink> delete_sink(
      new DeleteFileProgressSink);
  if (!delete_sink)
    return false;
  
  
  return SUCCEEDED(pfo->DeleteItem(delete_item.get(), delete_sink.get())) &&
         SUCCEEDED(pfo->PerformOperations());
}
void Beep() {
  MessageBeep(MB_OK);
}
}