Skip to content

fix: replace em dash with HTML entities in macOS pkg installer#12

Merged
christiangda merged 2 commits intomainfrom
fix/pkg-installer-encoding
Mar 21, 2026
Merged

fix: replace em dash with HTML entities in macOS pkg installer#12
christiangda merged 2 commits intomainfrom
fix/pkg-installer-encoding

Conversation

@christiangda
Copy link
Contributor

Summary

  • Replace UTF-8 em dash characters () with — HTML entities in welcome.html and readme.html to prevent garbled text (â€") in the macOS pkg installer
  • Add <meta charset="utf-8"> to both HTML files for explicit encoding declaration
  • Use ASCII -- in distribution.xml since XML title elements don't support HTML entities

Test plan

  • Build a .pkg installer and verify the welcome, readme, and title screens render dashes correctly
  • Confirm no garbled characters (â€") appear in any installer pane

🤖 Generated with Claude Code

christiangda and others added 2 commits March 21, 2026 15:36
The macOS pkg installer was rendering UTF-8 em dash characters (—) as
garbled text (â€"). Replace with &mdash; HTML entities in HTML files,
add charset meta tags, and use ASCII dashes in distribution.xml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@christiangda christiangda self-assigned this Mar 21, 2026
@christiangda christiangda merged commit e97c8da into main Mar 21, 2026
7 checks passed
@christiangda christiangda deleted the fix/pkg-installer-encoding branch March 21, 2026 14:38
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