lean-dojo / LeanDojo

Tool for data extraction and interacting with Lean programmatically.
https://leandojo.org
MIT License
532 stars 77 forks source link

no utf surrogate in json.dump #75

Closed josojo closed 10 months ago

josojo commented 10 months ago

I noticed during testing, that uft surrogates are being used.

E.g. in the mathlib notations like this one:

@[inherit_doc]

# scoped notation "𝓟" => Filter.principal

would only yield " \ud835\udcdf" instead of "𝓟" and this would not be consumed correctly by the REPL env.

yangky11 commented 10 months ago

Merging into dev and running unit tests. Thanks!