Open jakobbotsch opened 1 day ago
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
Hmm, this seems to break the ability to specify file paths with unicode characters on Windows. Probably can't switch to fopen
.
Hmm, this seems to break the ability to specify file paths with unicode characters on Windows. Probably can't switch to
fopen
.
Actually it works fine with UTF8 enabled, this was operator error.
PTAL @dotnet/jit-contrib @AaronRobinsonMSFT
Actually it works fine with UTF8 enabled, this was operator error.
Do you mean that you have to have your Windows configured to CP_ACP
== CP_UTF8
?.
Actually it works fine with UTF8 enabled, this was operator error.
Do you mean that you have to have your Windows configured to
CP_ACP
==CP_UTF8
?.
I think so, but I haven't confirmed. I can try to confirm whether this is the case.
Do you think we should continue using _wfopen
for Windows to avoid this regression? I thought it might be ok since most of the JIT env vars involving file paths are pretty obscure / power user scenarios.
I thought it might be ok since most of the JIT env vars involving file paths are pretty obscure / power user scenarios.
I think it is ok for debug-only configs. If it is used for documented env vars in release builds, it is a compliance issue. All features have to handle globalization properly, even the obscure ones.
getJitTimeLogFilename
JIT-EE call, which seemingly existed to avoid having a config parser in the JIT in release builds, but that ship has sailedSubsumes #104805