pthom / hello_imgui

Hello, Dear ImGui: unleash your creativity in app development and prototyping
https://pthom.github.io/hello_imgui
MIT License
676 stars 103 forks source link

fix IsRegularFile and LoadAssetFileData_Impl #58

Closed XMNXofficial closed 1 year ago

XMNXofficial commented 1 year ago

Pull Request

Description

Can't load files which its name is encode by gbk

Change Type

System Information

What Happened?

The function fopen and std::ifstream can't work if the file name has Chinese and Japanese.(Debug:they will return NULL)

Bug reproduction