https://bugs.winehq.org/show_bug.cgi?id=54295
--- Comment #6 from Robert T robertthesable@gmail.com --- Based on some testing I believe the root cause is a bug in ExpandEnvironmentStringsA involving Japanese glyphs. Not sure if other non-ASCII glyphs are affected as well.