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

Windsurf IDE fails to handle GBK encoded projects #107

Open
jinruozai opened this issue Dec 6, 2024 · 1 comment
Open

Windsurf IDE fails to handle GBK encoded projects #107

jinruozai opened this issue Dec 6, 2024 · 1 comment

Comments

@jinruozai
Copy link

Problem: When working with GBK encoded projects in Windsurf IDE, the AI assistant frequently returns the error:
"Errormarshal message: string field contains invalid UTF-8"

Steps to reproduce:

  1. Open a GBK encoded C++ project
  2. Try to use AI assistant features
  3. Error occurs when AI tries to read or process Chinese comments/strings

Expected behavior:

  • Windsurf should properly handle GBK encoded files
  • AI assistant should be able to process GBK encoded text

Current behavior:

  • Constant UTF-8 validation errors
  • AI assistant fails to properly process Chinese text in GBK encoding
@deanspring
Copy link

me too.

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

No branches or pull requests

2 participants