.. _invalid-character-sub: invalid-character-sub / E2512 ============================= **Message emitted:** ``Invalid unescaped character sub, use "\x1A" instead.`` **Description:** *Ctrl+Z "End of text" on Windows. Some programs (such as type) ignore the rest of the file after it.* **Problematic code:** .. literalinclude:: /data/messages/i/invalid-character-sub/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/i/invalid-character-sub/good.py :language: python Created by the `unicode_checker `__ checker.