Skip to content

.bat files misinterpreted as binary #12367

@bcablelex-ship-it

Description

@bcablelex-ship-it

Description

This started two updates ago. Create a new empty.bat file try to open it in the editor.
The error message is "Binary file (content cannot be displayed)"

Plugins

No plugins used

OpenCode version

v1.1.52

Steps to reproduce

This will be easy to reproduce.

Create an empty.bat file and then try to load it in the editor.

Screenshot and/or share link

Image

Operating System

Windows

Terminal

Putty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions