User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.8.1) Gecko/20061010 Firefox/2.0 If I try to print a string containing a ° character in the status bar using the showStatus() method from Applet, the degre character and all the remaining string is not printed. Reproducible: Always Steps to Reproduce: 1.launch the applet with the HTML file 2.clic on the button "show status" 3. Actual Results: the status bar print: Position : N49 Expected Results: the status bar should print: Position : N49° 28' 32''
Note : the problem does not occurs with I.E.
Reporter, do you still see this problem with the latest Firefox 2 and the latest Java? If not, can you please close this bug as WORKSFORME. Thanks!
Steve, I am using the 220.127.116.11 version of firefox and the JRE 1.6.0_01 Java HotSpot(TM) Client VM version for java and the bug is still here. The applet source code contains only 18 lines (with the import lines). Ir is WERY easy to compile and test it. Did you try my little applet ? Have you a version of Firefox or Java which works fine for this bug ? Thanks
Due to lack of reporter feedback and the inability to reproduce this bug, it is being resolved as INCOMPLETE. Reporter, feel free to reopen this bug if you still are experiencing this issue and wish to provide us with more information so that we can help.
Anthony, Did you try to compile the little applet and launched it with the HTML page that are attached? There is no other feedback that I can add. Which kind of feedback do you need?
Your applet does not work using FF 18.104.22.168 and Java 6 update 2. It generates an error: "Incompatible magic value 1768779887 in class file BugShowStatus"
Anthony, You are not serious at all. I have FF 22.214.171.124 and Java 6 update 2. I tested the applet and FF nor JAVA does NOT display any error like you state. I will attache an hard copy of the FF window with the status bar which display: Position : N49 insteed of: Position : N49° 28' 32'' Many thanks for your precious and very valuable help. Armand Bendanan.
I cannot get your applet to run at all and when I check the Java Console, I see the error I specified before. Perhaps someone else in the community with more expertise in JS would like to jump in here and help out.
Anthony, I have temporary put the applet in the following web page: http://neslog.dnsalias.net/BugShowStatus.html The java file is in : http://neslog.dnsalias.net/BugShowStatus.java You can (re)compile it with the command: # javac BugShowStatus.java Tell me if can can run the applet. --- Armand Bendanan
ok...I am seeing what you are seeing now. So the status bar shows "position: N49". What is supposed to be displayed?
According to the source code: showStatus("Position : N49° 28' 32''"); The status bar SHOULD display: Position : N49° 28' 32'' It seams that the status bar stop the display of the string BEFORE the '°' character. Bizarre, no?
Java was not passing a UTF8 string correctly. Nothing we can fix. I think Java fixed this in the meantime though.