Skip to content

Audit MSVC output with actual Chinese compiler resources - #241

Merged
danoli3 merged 2 commits into
masterfrom
test/msvc-localized-output
Oct 30, 2026
Merged

danoli3 merged 2 commits into
masterfrom
test/msvc-localized-output

Conversation

@danoli3

@danoli3 danoli3 commented Oct 30, 2026

Copy link
Copy Markdown
Owner

The original #236 tests set VSLANG=2052 and DOTNET_CLI_UI_LANGUAGE=zh-CN, but the successful log still shows English compiler warnings when the English override is OFF. That control did not establish that Chinese compiler resources were installed, so it could not prove a language switch or reproduce the reporter's garbled progress messages.

Add a dedicated VS 2022 job that installs the Chinese language pack, requires 2052/clui.dll, and exercises Visual Studio and Ninja under console code pages 936 and 65001. The strict mode requires a genuinely localized C4996 warning with the override OFF and entirely ASCII nested build output with it ON. A second project exercises parallel MSBuild workers; raw output bytes and command metadata are retained as artifacts.

The production setting FREEIMAGE_CODEC_ENGLISH_MESSAGES remains ON by default. This PR strengthens verification before changing that implementation further.

Related to #236 and the follow-up report at #236 (comment).

@danoli3
danoli3 marked this pull request as ready for review October 30, 2026 06:05
@danoli3
danoli3 merged commit ec155f9 into master Oct 30, 2026
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant