graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Fix/json dumps ascii

Open AlonsoGuevara opened this issue 1 year ago • 1 comments

Description

Set ensure_ascii to False in json dumps, for supporting and preserving non ASCI chars.

For example, "Alonso José" would be stored as "Alonso Jos\u130"

Related Issues

Related PRs

Checklist

  • [ ] I have tested these changes locally.
  • [ ] I have reviewed the code changes.
  • [ ] I have updated the documentation (if necessary).
  • [ ] I have added appropriate unit tests (if applicable).

Additional Notes

[Add any additional notes or context that may be helpful for the reviewer(s).]

AlonsoGuevara avatar Aug 08 '24 22:08 AlonsoGuevara

https://github.com/microsoft/graphrag/issues/866

natoverse avatar Aug 08 '24 23:08 natoverse