yehjf
yehjf
I've tried it already. PlatformIO uses the package [[email protected]](https://registry.platformio.org/tools/platformio/tool-scons), which references [email protected], so I can't simply upgrade it separately. However, I looked at the relevant code in version 4.9.1, and...
Display ```utf-8``` After my debugging, I found that after writing the temporary file (which contains Chinese characters), the command is eventually executed via the spawnve method: ``` C:\WINDOWS\System32\cmd.exe /C arm-none-eabi-g++...
``` ALLUSERSPROFILE=C:\ProgramData ANDROID_SDK_ROOT=D:\android-sdk APPDATA=C:\Users\Hello\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-P357RS7 ComSpec=C:\WINDOWS\system32\cmd.exe DriverData=C:\Windows\System32\Drivers\DriverData GHIDRA_INSTALL_DIR=D:\scoop\apps\ghidra\current GIT_INSTALL_ROOT=D:\scoop\apps\git\current GRADLE_USER_HOME=D:\scoop\apps\gradle\current\.gradle HADOOP_HOME=D:\hadoop-3.3.5 HOMEDRIVE=C: HOMEPATH=\Users\Hello JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181 LOCALAPPDATA=C:\Users\Hello\AppData\Local LOGONSERVER=\\DESKTOP-P357RS7 NUMBER_OF_PROCESSORS=6 OneDrive=C:\Users\Hello\OneDrive OneDriveConsumer=C:\Users\Hello\OneDrive...
``` The Windows default encoding for Python is: cp936 ```
I think we can allow users to choose the encoding used for writing the tmp file by specifying a parameter or a specific environment variable. Alternatively, we can automatically determine...