Saftlint
Rule

UTF-8 XML encoding

Header and periods · file.encoding.utf8 · error

The XML must use and declare UTF-8.

How to investigate

  1. Open the XML path reported in the finding.
  2. Compare the referenced values and relevant master data or aggregate.
  3. Re-export after correcting the source data or exporter logic.
  4. Run the same pinned ruleset again.

Source basis

Norwegian SAF-T Financial data — Technical description — Technical description p. 7. Reviewed 2026-08-12.

Open source ↗