v does not support Chinese character path name under Windows 10 #21502
Labels
Bug
This tag is applied to issues which reports bugs.
Compiler: TCC
Bugs/feature requests, that are related to compiling V programs with TCC.
OS: Windows
Bugs/feature requests, that are specific to Windows OS.
Describe the bug
v does not support Chinese character path name under Windows 10, it will fail when compile v program.
Reproduction Steps
create any v file, such as
Place this hello.v into a directory, which contain Chinese character, such as
Then compile it,
It will fail to compile the hello.v
Expected Behavior
compile and run without error
Current Behavior
Possible Solution
No response
Additional Information/Context
compile with msvc , will fail also.
V version
V full version: V 0.4.5 58a8fc6
Environment details (OS name and version, etc.)
D:\v\测试>v doctor
V full version: V 0.4.5 58a8fc6
OS: windows, Microsoft Windows 10 ҵ LTSC v19044 64 λ
Processor: 16 cpus, 64bit, little endian,
getwd: D:\v\测试
vexe: D:\v\v\v\v.exe
vexe mtime: 2024-05-14 02:15:32
vroot: OK, value: D:\v\v\v
VMODULES: OK, value: C:\Users\DDT.vmodules
VTMP: OK, value: C:\Users\DDT\AppData\Local\Temp\v_0
Git version: git version 2.43.0.windows.1
Git vroot status: weekly.2024.20-dirty
.git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command,
operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b99a453d
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: