MojaAre you suffering from mojibake? Meet Moja! Your VSCode cure. Moja detects mojibake (text that was saved as UTF-8 but read with the wrong encoding, producing things like Features1. Mojibake detection on file openWhen you open a file, Moja scans its contents for sequences that look like mis-decoded UTF-8 (UTF-8 bytes read as Windows-1252 / Latin-1, You can also re-run this scan at any time from the Command Palette with Moja: Check File for Mojibake, or by pressing 2. Moja: Encode Selection to UTF-8Select the mojibake text (or just place the cursor inside it) and run Moja: Encode Selection to UTF-8 from the Command Palette (
The selection is re-encoded: the mojibake characters are mapped back to their original UTF-8 bytes and replaced with the correctly-decoded text. Extension Settings
Development
Press To build the installable package:
LicenseMIT |