haskellvisual-studio-codecharacterlexical

Haskell VS Code lexical error at character '\DC4'


Whenever I try to use code evaluation in VS Code / VSCodium, I get this exact message:

lexical error at character '\DC4'

even in fresh projects. Other features work fine so far. How do I fix that?


Solution

  • This happened because my projects' folder was lying inside a folder with a cyrilic name. Relocating projects so the absolute path is in 100% latin characters have solved the problem.