Commit 9ff7599
Support non-ASCII (CJK) paths in Windows installer (deepmodeling#7342)
Force UTF-8 at the top of install-abacus.bat, uninstall-abacus.bat, and
the generated abacus.cmd / abacus-mpi.cmd launchers via `chcp 65001` and
`set WSL_UTF8=1`. Without these, wsl.exe emits UTF-16LE when its stdout
is piped, so the `for /f` that captures `wslpath` output mangles any
CJK characters in the repository or case directory path, and the
launchers' `wsl --cd "%CD%"` fails from a Chinese-named directory.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 43024cc commit 9ff7599
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| 137 | + | |
| 138 | + | |
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
| 143 | + | |
| 144 | + | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
0 commit comments