Skip to content

Fix setup localization files encoding#312073

Open
dmitrivMS wants to merge 7 commits intomainfrom
dev/dmitriv/garbage-chas-in-windows-menu
Open

Fix setup localization files encoding#312073
dmitrivMS wants to merge 7 commits intomainfrom
dev/dmitriv/garbage-chas-in-windows-menu

Conversation

@dmitrivMS
Copy link
Copy Markdown
Contributor

@dmitrivMS dmitrivMS commented Apr 23, 2026

Fixes #293711

Switch loc files to UTF-8 which setup can now handle.
Verified by the customer who logged original bug the fix works on their machine.
Also verified in several locales that there are no regressions, but probably can do more coverage on those.

Copilot AI review requested due to automatic review settings April 23, 2026 03:43
@dmitrivMS dmitrivMS self-assigned this Apr 23, 2026
@dmitrivMS dmitrivMS added install-update VS Code installation and upgrade system issues windows VS Code on Windows issues labels Apr 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

Base: cdf20ffc Current: e7bff41f

No screenshot changes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses corrupted/non‑ASCII characters in the Windows installer context-menu strings by switching the Inno Setup .isl localization files to UTF‑8 with BOM and updating affected translations accordingly.

Changes:

  • Replaces garbled text in multiple build/win32/i18n/messages.*.isl files with correct localized strings.
  • Updates several build/win32/i18n/Default.*.isl files to use LanguageCodePage=0 for UTF‑8.
  • Updates build/lib/i18n.ts to emit .isl files as UTF‑8 with BOM (removing legacy codepage encoding).
Show a summary per file
File Description
build/win32/i18n/messages.zh-tw.isl Fixes Traditional Chinese installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.zh-cn.isl Fixes Simplified Chinese installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.tr.isl Fixes Turkish installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.ru.isl Fixes Russian installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.pt-br.isl Fixes Brazilian Portuguese installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.ko.isl Fixes Korean installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.ja.isl Fixes Japanese installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.it.isl Ensures Italian installer custom message file is UTF‑8 with BOM.
build/win32/i18n/messages.hu.isl Fixes Hungarian installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.fr.isl Fixes French installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.es.isl Fixes Spanish installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/messages.en.isl Ensures English installer message file is UTF‑8 with BOM.
build/win32/i18n/messages.de.isl Fixes German installer custom message strings by writing proper UTF‑8 text/BOM.
build/win32/i18n/Default.zh-tw.isl Updates Traditional Chinese default installer messages/codepage for UTF‑8.
build/win32/i18n/Default.zh-cn.isl Updates Simplified Chinese default installer messages/codepage for UTF‑8.
build/win32/i18n/Default.ko.isl Updates Korean default installer messages/codepage for UTF‑8.
build/win32/i18n/Default.hu.isl Updates Hungarian default installer messages/codepage for UTF‑8.
build/lib/i18n.ts Switches .isl generation to UTF‑8+BOM output (no codepage conversion).

Copilot's findings

  • Files reviewed: 18/18 changed files
  • Comments generated: 4

Comment thread build/win32/i18n/Default.zh-cn.isl Outdated
Comment thread build/win32/i18n/Default.zh-tw.isl Outdated
Comment thread build/lib/i18n.ts
Comment thread build/win32/i18n/Default.hu.isl Outdated
@dmitrivMS dmitrivMS changed the title Fix loc files encoding Fix setup localization files encoding Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 18/18 changed files
  • Comments generated: 1

Comment thread build/lib/i18n.ts Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 19/19 changed files
  • Comments generated: 0 new

@dmitrivMS
Copy link
Copy Markdown
Contributor Author

@dmitrivMS dmitrivMS marked this pull request as ready for review May 3, 2026 20:59
@vs-code-engineering
Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@TylerLeonhardt

Matched files:

  • build/lib/i18n.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

install-update VS Code installation and upgrade system issues windows VS Code on Windows issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

corrupted characters in the context menu entry

2 participants