Don't use Windows. Seems to be bad software
No seriously. I have no idea. I can only guess what to look for. Does msys2 try to make `getCurrentEncoding` behave correctly? Does msys2 try to make everything more unix like and make the shell utf8? Does msys2 have any information about encoding?