Skip to content

Add ensure_ascii=False to json.dumps calls#1381

Merged
alexmojaki merged 2 commits intopydantic:mainfrom
qiangxinglin:patch-1
Sep 9, 2025
Merged

Add ensure_ascii=False to json.dumps calls#1381
alexmojaki merged 2 commits intopydantic:mainfrom
qiangxinglin:patch-1

Conversation

@qiangxinglin
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@alexmojaki
Copy link
Copy Markdown
Collaborator

Hi, what's the motivation for this?

@qiangxinglin
Copy link
Copy Markdown
Contributor Author

@alexmojaki For non-English words, logfire frontend can correctly rendered it. But when the traces too old and past its retention period, importing them to other observability platforms (like Signoz) would render the words in \uXXXX\uYYYY form.

@alexmojaki alexmojaki enabled auto-merge (squash) September 9, 2025 08:35
@alexmojaki
Copy link
Copy Markdown
Collaborator

Makes sense, thanks!

@alexmojaki alexmojaki merged commit 8bee8d7 into pydantic:main Sep 9, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants