Skip to main content
Doctorine reference
On this pageOverview

Your spec file has an unsupported encoding

The file bytes are not valid UTF-8, so the document cannot be read reliably.

spec.syntax.encoding

Category
API specification
Default severity
Error
Applies to
API specification
Default outcome
Blocked
Recommended action
Fix the source
Grouped by
Source document

Why it matters

The file bytes are not valid UTF-8, so the document cannot be read reliably.

How to fix it

  1. Re-save the file as UTF-8 without a byte-order mark.
Documentation menu