match statement with
| `Raw text ->
if Pcre.pmatch ~rex:only_dust_RE text then raise Margin;
- let ast = MatitaEngine.get_ast grafite_status include_paths text in
+ let strm = Ulexing.from_utf8_string text in
+ let ast = MatitaEngine.get_ast grafite_status include_paths strm in
ast, text
| `Ast (st, text) -> st, text
in