vscode-textmate icon indicating copy to clipboard operation
vscode-textmate copied to clipboard

degradation (latest version) does not support WTF-8+BOM anymore

Open mithom opened this issue 2 weeks ago • 2 comments

At my workplace we use a custom language for which i made textMate grammar extension for VS Code. This extension worked perfectly until the november 2025 update. The only change that i could find was a version bump for this textmate dependency. Of course i might have missed another change, but it wasn't in the release notes at least.

my grammar definition was written in a file encoded using UTF-8+BOM. removing the BOM fixed the plugin, but this is a regression for all non maintained plugins that might be using this file encoding

mithom avatar Dec 11 '25 14:12 mithom

are you able to provide the extension/grammar file?

RedCMD avatar Dec 11 '25 18:12 RedCMD

Yes i can, i will boot up my pc later today, but the content of the file didn't really matter. The encoding of the file is the only thing i changed to get it back to working. That said, is there a way i can share the file non publicly? It was work related so not sure if i can share it publicly.

mithom avatar Dec 11 '25 18:12 mithom