Change file encoding

Change file encoding in Visual Studio Code — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
Set the file encoding for this repository to UTF-8 so non-ASCII characters render consistently.…
Set the file encoding for this repository to UTF-8 so non-ASCII characters render consistently. Update .vscode/settings.json with "files.encoding": "utf8" and convert any current files detected as ISO-8859-1 to UTF-8, validating they still open correctly in the editor.

Improve — make it easier to accept

+
Before I commit the encoding change, make it easy for reviewers: produce a short list of files that…
Before I commit the encoding change, make it easy for reviewers: produce a short list of files that will be re-encoded, show one example diff where non-ASCII characters could break, explain the compatibility benefit of UTF-8, and flag any tools in CI that might assume a different encoding.

Decide — diagnose the stuck moment

+
I set files.encoding to utf8 and converted source files, but the nightly build process now logs…

I changed encoding and build logs now show garbled characters.

I set files.encoding to utf8 and converted source files, but the nightly build process now logs garbled messages and an older toolchain process reads some files incorrectly. I don't know which files the toolchain expects to be in Latin-1 versus UTF-8 or whether the CI environment locale changed. Should I revert the conversions, add explicit encoding flags to the build, or inspect the toolchain's file inputs first? Recommend the most likely diagnosis and the next command I should run to isolate the problem.

Become — change the pattern

+
Across repositories, encoding changes keep popping up and occasionally break legacy tools or CI…

We repeatedly break builds by changing file encodings without checking toolchains.

Across repositories, encoding changes keep popping up and occasionally break legacy tools or CI jobs. We lose time reverting and reconciling. What habit or lightweight safeguard should we adopt so encoding changes are safe and predictable? Suggest a single practice that prevents these regressions and a one-line checklist to require before encoding conversions.

Next to this one

Other code editor work people do in Visual Studio Code.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.