Skip to content

🐛 [Bug] Code page read from openedge-project.json is not in OpenEdge format #458

@lievendf

Description

@lievendf

Extension Version

1.4.4

OpenEdge Version

12.8.9

Bug Description

The "charset" setting from openedge-project.json is used as "cpstream" setting when running a test, but charset uses another format than what the OpenEdge codepage settings expect.
The ABLUnitRunner extension (and OpenEdge) expect "1252" while the VSCode extension for OpenEdge by Gilles needs "windows-1252".
From the ABL Language server startup log: [2025-12-15T16:19:03,102] [ERROR] [myProject] Invalid charset 1252, defaults to UTF-8
I believe you can't simply use "charset", as that isn't meant to be used for OE (as the setting indicates, this is used by the language server to read files).
Coincidentally "UTF-8" is a valid value in both worlds, but that can't be said for all values...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🪲 Something isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions