You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/08 16:06:54 UTC

[GitHub] [netbeans] filipe-maia opened a new issue, #4481: Per File Encoding

filipe-maia opened a new issue, #4481:
URL: https://github.com/apache/netbeans/issues/4481

   ### 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 <project.build.sourceEncoding>Cp1252</project.build.sourceEncoding> 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] filipe-maia commented on issue #4481: Per File Encoding

Posted by GitBox <gi...@apache.org>.
filipe-maia commented on issue #4481:
URL: https://github.com/apache/netbeans/issues/4481#issuecomment-1209175820

   Thanks @Chris2011 . It's not automatic, but it works very well. I'll be using it as a workaround :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #4481: Per File Encoding

Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #4481:
URL: https://github.com/apache/netbeans/issues/4481#issuecomment-1208469309

   As a workaround and just if it helps, you can try to use this plugin: https://github.com/junichi11/netbeans-encoding-plugin


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] filipe-maia commented on issue #4481: Per File Encoding

Posted by GitBox <gi...@apache.org>.
filipe-maia commented on issue #4481:
URL: https://github.com/apache/netbeans/issues/4481#issuecomment-1208324996

   I get this message if I try to open a file with special characters in a project with a different encoding than the one defined in the POM for the Java files.
   
   ![f](https://user-images.githubusercontent.com/9107130/183463626-6955767f-9f2c-45f6-97a9-9e5c32acca4c.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists