Skip to content

SYNG1013 - Invalid UTF-8 sequence

Domain: sexp
Severity: USER

The query contains an invalid UTF-8 byte sequence.

The query file contains bytes that do not form a valid UTF-8 encoding. This typically happens when a file is saved in a different encoding (like Latin-1 or Windows-1252) but read as UTF-8.

Solution

Re-save your query file with UTF-8 encoding. In most editors:

  • VS Code: Click the encoding in the status bar, select "Save with Encoding" → "UTF-8"
  • Vim: :set fileencoding=utf-8 then :w

SYNG1012, SYNG1014

Copyright © 2022-present Semantic Works, Inc.