Skip to content

Legacy encoding [BUG] #11002

@coolcoldice-cmyk

Description

@coolcoldice-cmyk

Problem (one or two sentences)

I know this one is odd one. One legacy application that I mantain uses CP 852 encoding. Files must be saved as such, and with VS Code I am editing and opening fine - Roo Code also works fine with that specific language, and Claude is delivering just fine, except it messes up the document and does not save in expected encoding.

I've written in system prompt CRITICAL: This project uses CP 852 (Code Page 852) encoding. All code generation and file modifications must preserve CP 852 characters (č, ć, ž, š, đ). Do not convert files to UTF-8;

It attempts, but fails.

Context (who is affected and when)

Just for few of us in legacy applications...

Reproduction steps

Latest versions of VS Code and Roo Code; Windows 11

Expected result

Should save in CP852

Actual result

Saves in Unicode

Variations tried (optional)

No response

App Version

3.43.0

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions