Skip to content

fix: repair corrupted flag emoji sequences in language switchers across 8 news article files#645

Merged
pethers merged 2 commits intomain-36c61e465d6965f2from
copilot/sub-pr-642
Feb 28, 2026
Merged

fix: repair corrupted flag emoji sequences in language switchers across 8 news article files#645
pethers merged 2 commits intomain-36c61e465d6965f2from
copilot/sub-pr-642

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Three flag emojis in the language switcher navigation were corrupted — each a pair of U+FFFD replacement characters substituting one of the two UTF-8 regional indicator codepoints that compose a flag emoji.

Affected files and corruptions:

  • 🇸🇪 U+1F1F8 U+1F1EA → second codepoint lost → EN, SV, DA, NO, FI files (line 56)
  • 🇬🇧 U+1F1EC U+1F1E7 → first codepoint lost → DE file (line 55)
  • 🇪🇸 U+1F1EA U+1F1F8 → first codepoint lost → AR, HE files (line 49)

Fix: Binary-replaced the ef bf bd ef bf bd sequences with the correct UTF-8 byte sequences for the missing regional indicator letters in each file.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

- 🇸🇪 Swedish flag corrupted in EN/SV/DA/NO/FI language switchers
- 🇬🇧 UK flag corrupted in DE language switcher
- 🇪🇸 Spanish flag corrupted in AR/HE language switchers

Replaces U+FFFD replacement character sequences with correct
UTF-8 encoded regional indicator letter pairs for each flag.

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Update evening analysis on Sweden's parliamentary activities fix: repair corrupted flag emoji sequences in language switchers across 8 news article files Feb 28, 2026
@pethers pethers marked this pull request as ready for review February 28, 2026 01:32
@pethers pethers merged commit e152c26 into main-36c61e465d6965f2 Feb 28, 2026
@pethers pethers deleted the copilot/sub-pr-642 branch February 28, 2026 01:32
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.

2 participants