On Windows set codepage to US English so cmd functions can be parsed in a consistent manner. This is similar to how it's done on Linux.