E8093
Error code: the run stops before anything is written. Raised by: indicators.
Cause
step "<step>": variable <variable> of recode file <file> holds text (a string value or a value label) that is not valid in the file's encoding
Fix
The reader decodes UTF-8 for Stata format 118 and later and Windows-1252 (Latin-1) before; the file itself is readable, but was probably converted or edited outside Stata. Give the .DTA recode as distributed by the DHS Program, or convert it with Stata's unicode translate in the restricted environment. No value or label text is shown (NFR-13).
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
error[E8093]: step "<step>": variable `<variable>` of recode file `<file>` holds text (a string value or a value label) that is not valid in the file's encoding
--> <file>:<line>:<column>
= fix: The reader decodes UTF-8 for Stata format 118 and later and Windows-1252 (Latin-1) before; the file itself is readable, but was probably converted or edited outside Stata. Give the .DTA recode as distributed by the DHS Program, or convert it with Stata's `unicode translate` in the restricted environment. No value or label text is shown (NFR-13).
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
step, variable, file.
Generated from schemas/messages/en.toml. Do not edit. This page (code E8093) is built from the engine sources at every documentation build. To change it, edit the E8093 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.