Describe the bug
When trying to execute:
PS C:\Users\Diluka> edit ~/.claude/settings.json
Error 0x80070003: 绯荤粺鎵句笉鍒版寚瀹氱殑璺緞銆?
The command fails with error code 0x80070003, and the error message is garbled.
Expected behavior
- The path
~ should be correctly resolved to the user's home directory.
- Error messages should be readable in English or Chinese, not garbled.
To Reproduce
- Open Windows PowerShell.
- Run the command above.
- Observe the error output.