Per File Encoding
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
Hi.
I work in a company where everybody is free to use the software they want to develop, as long as the applications developed work without any issues.
Some of us use JDeveloper, others use IntelliJ, Eclipse, etc..
It's good to work in a place where there are no IDE restrictions.
The problem I'm currently facing with NetBeans: Some of our older projects have multiple encodings, JAVA and PROPERTIES files are in Windows-1252, POM, XML and XHTML files are in UTF-8 (with the encoding="UTF-8" in the top of the file); The POM files are correctly configured, with the Cp1252 and everything compiles correctly and works without any issues; NetBeans will incorrectly use 1252 for every file in the project.
I found this old issue:
https://bz.apache.org/netbeans/show_bug.cgi?id=157498
Thanks.
### Use case/motivation
NetBeans to be able to use different encodings in different files of the same project.
### Related issues
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
Contributor guide
Research direction
No source file or test is named. Start by reading the linked historical issue and then inspect how NetBeans handles encoding for Java, Properties, POM, XML, and XHTML files; done means different files in one project use their appropriate encodings without breaking compilation or editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100