rasa
rasa copied to clipboard
Fix unicode handling in JSON serialization for SQLTrackerStore
This pull request updates the JSON serialization within the SQLTrackerStore to preserve non-ASCII characters such as Cyrillic script. By setting ensure_ascii=False in json.dumps, the data is now stored in its original representation, allowing for proper storage and retrieval of non-ASCII characters. This change addresses issues with Unicode encoding in the database, ensuring that intent and action names containing Cyrillic characters are correctly represented.
Proposed changes:
- Set ensure_ascii=False in json.dumps to preserve non-ASCII characters in the database.
Status (please check what you already did):