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.
The '©' symbol get's written to a file as '�'. I'm using dev-july29 QBuild
What are your locale settings? Could you please send me an output from running of list-properties.jar available at http://editor.netbeans.org/servlets/ProjectDownloadList ? Thanks.
Here you go. -- listing properties -- java.runtime.name=Java(TM) 2 Runtime Environment, Stand... sun.boot.library.path=/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/... java.vm.version=1.4.2_05-b04 java.vm.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ path.separator=: java.vm.name=Java HotSpot(TM) Client VM file.encoding.pkg=sun.io user.country=US sun.os.patch.level=unknown java.vm.specification.name=Java Virtual Machine Specification user.dir=/data/MyDocuments/java/uPortal/uporta... java.runtime.version=1.4.2_05-b04 java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment java.endorsed.dirs=/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/... os.arch=i386 java.io.tmpdir=/tmp line.separator= java.vm.specification.vendor=Sun Microsystems Inc. os.name=Linux sun.java2d.fontpath= java.library.path=/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/... java.specification.name=Java Platform API Specification java.class.version=48.0 java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferences... os.version=2.4.21-15.0.4.ELsmp user.home=/home/trenta user.timezone= java.awt.printerjob=sun.print.PSPrinterJob file.encoding=UTF-8 java.specification.version=1.4 user.name=trenta java.class.path=../../list-properties.jar java.vm.specification.version=1.0 sun.arch.data.model=32 java.home=/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/jre java.specification.vendor=Sun Microsystems Inc. user.language=en java.vm.info=mixed mode java.version=1.4.2_05 java.ext.dirs=/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/... sun.boot.class.path=/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/... java.vendor=Sun Microsystems Inc. file.separator=/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport... sun.cpu.endian=little sun.io.unicode.encoding=UnicodeLittle sun.cpu.isalist=
Changed target milestone to TBD.
What type of file the given character was written to? Was it an html file?
It was a java source comment.
In that case please check that you have Tools->Options->Java Sources->Default Encoding set to empty string. I have searched a unicode description of 65533 character which is \uFFFD and according to http://www.fileformat.info/info/unicode/char/fffd/index.htm it is a replacement character that is used once the input character cannot be represented by any of the unicode characters. I have also searched for the copyright character unicode representation it's \u00a9 http://www.fileformat.info/info/unicode/char/00a9/index.htm so it looks like the char-to-byte converter was unable to properly write the character into the file. I do not think that NB would affect that writing process anyhow. Could you please run java -jar $jdk/demo/jfc/Notepad/Notepad.jar and try to type and save the copyright character there. If the character will be properly written please reopen this issue. Thanks.