Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix endoding issues #13041

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix endoding issued
Fixes encoding issues referenced in [issue OSS-781](https://rasa-open-source.atlassian.net/browse/OSS-781) while running `rasa data split nlu` with entities containing non-english characters
  • Loading branch information
jzaprzalka committed Jul 10, 2024
commit 5a8f10419f84b0df01f4e5167f35f93c422331a6
2 changes: 1 addition & 1 deletion rasa/shared/nlu/training_data/formats/readerwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def generate_entity_attributes(
[(k, v) for k, v in entity_dict.items() if v is not None]
)

return f"{json.dumps(entity_dict)}"
return f"{json.dumps(entity_dict, ensure_ascii=False)}"

@staticmethod
def generate_entity(
Expand Down