Skip to content

Momen2m 1.36.1

Choose a tag to compare

@Purgator Purgator released this 23 Oct 17:21
· 9 commits to main since this release

Fix: garbled "what changed" note, and a guard so it cannot ship again

The note shown after the update to 1.36.0 displayed garbled characters: its two lines in
js/changelog.js had been double-encoded (UTF-8 read as cp1252 and re-encoded), the same
bug as 1.34.0. The lines are rewritten; the 1.36.1 note says so in one line.

Guards (developer side, no user-visible change):

  • new tools/checktext.js scans every text file of the project for invalid UTF-8, a BOM, or
    the double-encoding pattern (an accent as two odd letters, an emoji as four);
  • npm test runs that scan as a test;
  • node tools/bump.js refuses to bump while any text is garbled, and also refuses when
    js/changelog.js has no entry for the new version in both en and fr;
  • the repo's working notes say to write files and commit messages from UTF-8 files, never
    through the shell.