Utf8 characters are handled for now, this is also related to the issue #9728 $ dune format-dune-file < ("Éff ĎúÑȨ") > EOF ("Éff ĎúÑȨ") $ dune format-dune-file < (run foo %{bin:é}) > EOF File "", line 1, characters 15-16: Error: The character '\195' is not allowed inside %{...} forms [1] $ dune format-dune-file < (echo "hÉllo") > EOF (echo "hÉllo") $ dune format-dune-file < (echo "É") > EOF (echo "É") $ dune format-dune-file < (Écho "hello") > EOF File "", line 1, characters 1-2: Error: Invalid atom: contains non-ASCII character(s). Atoms must only contain ASCII characters. [1] $ bash -c "printf '(echo \"%b\")' '\xc0'"| dune format-dune-file (echo "\192") $ bash -c "printf '(echo \"%b\")' '\xf0'"| dune format-dune-file (echo "\240")