can this correction push to repo please ?
in winmain.cpp
std::setlocale(LC_ALL, "");
to
std::setlocale(LC_ALL, "en-US");
No, that’s not a correction at all. If there’s locale-sensitive code in MAME causing this issue, it needs to be identified and fixed.