Skip to content

can't read code file with GB2312 #4143

@CDSR-JY

Description

@CDSR-JY

App Version

3.19

API Provider

OpenAI Compatible

Model Used

qwen3

🔁 Steps to Reproduce

can't read code file with GB2312.

💥 Outcome Summary

[read_file for 'dp_table.c'] Result:

dp_table.cError reading file: Cannot read text for file type: .c

[read_file for 'dp_table.c'] Result:

The tool execution failed with the following error:

Error reading file: {"name":"Error","message":"Cannot read text for file type: .c","stack":"Error: Cannot read text for file type: .c\n\tat ese (c:\Users\1002412\.vscode\extensions\rooveterinaryinc.roo-cline-3.19.0\dist\extension.js:2875:2626)\n\tat async TVn

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions