Skip to content

[BUG] FileWriteToolkit doesn't correctly handle Chinese characters #1872

@Asher-hss

Description

@Asher-hss

Required prerequisites

What version of camel are you using?

0.2.30

System information

0.2.30

Problem description

By default, json.dump() and json.dumps() use ensure_ascii=True, which converts non-ASCII characters (e.g., Chinese) into Unicode escape sequences

Reproducible example code

The Python snippets:

Command lines:

Extra dependencies:


Steps to reproduce:

Traceback

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions