Repository navigation
Momen2m 1.36.1
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.jsscans 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 testruns that scan as a test;node tools/bump.jsrefuses to bump while any text is garbled, and also refuses when
js/changelog.jshas no entry for the new version in bothenandfr;- the repo's working notes say to write files and commit messages from UTF-8 files, never
through the shell.