Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Doesn't want to open java code #13478

Closed
umnikos opened this issue Jun 23, 2017 · 2 comments
Closed

Doesn't want to open java code #13478

umnikos opened this issue Jun 23, 2017 · 2 comments

Comments

@umnikos
Copy link

umnikos commented Jun 23, 2017

OS - windows 7 home premium
Brackets version - 1.8.0.0

When I right click a .jar file and then select "Open with brackets" it gives the error message "Brackets currently only supports UTF-8 encoded text files.

I know that brackets is just glorified notepad, but it would be awesome if I could open and edit java code inside brackets (since I mainly use it as my "IDE for everything")

@petetnt
Copy link
Collaborator

petetnt commented Jun 25, 2017

Hi @AlexStefanov2,

the error message isn't due to Java-files exactly, but with the character encoding of the files. The files are most likely encoded in UTF-8 but with BOM or as some other ASCII format, which Brackets didn't handle up until #13412 and #13477.

While those should land in 1.10, meanwhile you could open the files in another editor (for example Notepad++ on Windows), convert the files to plain UTF-8 and open them again in Brackets.

@petetnt
Copy link
Collaborator

petetnt commented Sep 11, 2017

Closing as fixed, please do reopen if issue persists with Brackets 1.10-1.11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants