This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
there is a problem with the enconding format in the editor is not showing spanish characters i´m using UTF-8 and when editing is ok but when submit changes to svn and then download changes from svn the special character is replaced with garbage BUT ONLY INSIDE NETBEANS EDITOR not outside like using Notepad on windows or watching direcly in the svn server repository
Ok, what is your encoding for the project? Right-click project node -> properties -> Sources -> Encoding (right at the bottom)? Is it UTF-8? Also, what file type are you editing? And third, what is your environment (OS, JDK, Netbeans build, ect) and especially what is the default text encoding in your OS? Thanks a lot.
Could you please answer the questions above? We need your help in order to be able to diagnose the problem. Thank you very much indeed
Open the attached file in an ant based project with latest daily build (071109-RC1?). It would display "boxes". System.out.println("���"); Opening the source file with Beta 2 it looks fine. If this is a bug, it is a showstopper, therefore I changed priority to P1. The enconding for the project it UTF-8. If the Bug.java is opened with RC1 but not within an ant based project, it looks ok.
Created attachment 52778 [details] this files is not rendered correct with RC1
I can't reproduce (Ubuntu, RC1, JDK 1.6.0_04)
thulin, here are some questions that can help us understand more and emulate your exact situation so we can see the specific problem and investigate fix: 1. there have been some recent fixes to encoding handling related to freeform projects (including those with ant scripts) could you try using latest daily build ? 2. also, is the project based on code from another previous netbeans or from other code ? if its from other code, was the other code created when you were in a non utf-8 spanish locale; since on windows there is not utf-8 locale per se. 3. and what regional settings are being used - what is the choice of locale for the 1st and 3rd tabs of the regional settings ? 4. could you try creating some java file in a new project (not with ant script or from existing sources) and then do your other steps with svn and see if the characters show ok ? that is, after you put the files in project into svn and then edit and commit back, and then bring back into editor. 5. finally, can you tell the steps you do in this, esp steps of project creation and how/when you put the project into svn and the other steps related to svn and these files ? it will help us to emulate the problem you are seeing. ken.frank@sun.com
Please provide requested info, otherwise the issue will be closed. Thanks.
As reporter wrote privately the issue can be closed. If somebody is able to reproduce please reopen and provide test case.