Fix llms.txt Encoding

llms.txt must be UTF-8. Wrong encoding (e.g. Latin-1, Windows-1252) can break parsing and display special characters.

Common causes

  • File saved in non-UTF-8 encoding.
  • Server sends wrong Content-Type charset.
  • BOM or invisible characters.

How to fix

  1. Save as UTF-8 without BOM.
  2. Set Content-Type: text/plain; charset=utf-8.
  3. Validate with llms.txt Validator.