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

[Bug] [Chat Excel] The Chinese form file will be displayed in UTF8 encoding, and the plain text will not be displayed. #2346

Open
3 of 15 tasks
HyperForce opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working Waiting for reply

Comments

@HyperForce
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

none

Models information

None

What happened

在使用Chat Excel过程中,表格文件中文会以utf8编码显示,不显示明文

What you expected to happen

应该显示明文

How to reproduce

在处理json时使用ensure_ascii参数确保中文显示明文

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@HyperForce HyperForce added bug Something isn't working Waiting for reply labels Feb 12, 2025
@Aries-ckt
Copy link
Collaborator

can you give the bad case excel so we can reproduce.

@Aries-ckt Aries-ckt changed the title [Bug] [Chat Excel] 表格文件中文会以utf8编码显示,不显示明文 [Bug] [Chat Excel] The Chinese form file will be displayed in UTF8 encoding, and the plain text will not be displayed. Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants