This happens with "inputenc: auto-legacy" if a language with default encoding "utf8" (e.g. Turkmen or Mongolian) is used in a Quote (or another environment).