-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
输入的uvprojx文件路径有中文时,程序会闪退没有任何输出
经过测试发现出错的地方在encoding_inl.hpp文件
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>>().from_bytes(str, str + str_size);在这个函数里面抛出异常(xlocbuf文件里)
_Throw_range_error("bad conversion");看起来是转换编码的过程发生失败了,但是我不太懂c++不知道怎么改实在无能为力,本来想加个try catch至少打印个报错信息,也没有效果,程序还是悄无声息地退出
Metadata
Metadata
Assignees
Labels
No labels