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.
When I type spec iso-8859-2 characters in the jsp editor (and ONLY in the jsp editor) - such as \u00d5 \u00f5 \u00db \u00db - they look right. If I save & close the jsp page and open it again, then the typed spec characters are converted to '?' character. (If I edit this jsp file with an external editor, then the spec characters appear right in Netbeans.) This is strange for me, because when I edit a java source or other file type this problem is not appears, and it is annoying, because in my native language - Hungarian - these letters are used frequently. I tried the Netbeans 3.5/3.5.1 and the Sun ONE Studio 4.1 and the problem is there in all version. My linux is GNU/debian testing/unstable installed from the Knoppix 3.2 2003.07.26 distribution. I use the j2sdk1.4.2 bundled with Netbeans 3.5, my locale preferences: LANG=hu_HU, LC_ALL=hu_HU CHARSET=iso8859-2, output of the `locale charmap`: ISO-8859-2, kernel: 2.4.22 with ac1 patch, XFree86: 4.3 I hope my English is understandable and the problem will resolved soon. Sincerely, Tamás Demeter
Not sure whether jsp evaluates the file's header for charset information which could override your locale's charset. Reassigning to web module.
yes, this is a bug. I'm going to work on this soon.
Tamás Demeter, are you sure that you selected a correct incoding? I have not found the symbols "\u00d5 \u00f5 \u00db \u00fb " in the iso-8859-2, but i have found it in the iso-8859-1 ("Õ õ Û û "). Here is three exsamples, with iso-8859-1 all works good. ------------------------------------------------- <%@page contentType="text/html;charset=UTF-8"%> <%@page pageEncoding="UTF-8"%> <html> <head><title>JSP Page</title></head> <body> Õ õ Û û --------------------------------------------- Ctrl-s,Close; Open : ------------------------------------------------- <%@page contentType="text/html;charset=UTF-8"%> <%@page pageEncoding="UTF-8"%> <html> <head><title>JSP Page</title></head> <body> Õ õ Û û --------------------------------------------- Ok. Next case: ------------------------------------------ <%@page contentType="text/html;charset=iso-8859-2"%> <%@page pageEncoding="iso-8859-2"%> <html> <head><title>JSP Page</title></head> <body> Õ õ Û û ---------------------------------------------- Ctrl-s,Close; Open: --------------------------------- <%@page contentType="text/html;charset=iso-8859-2"%> <%@page pageEncoding="iso-8859-2"%> <html> <head><title>JSP Page</title></head> <body> ? ? ? ? ------------------------------------- Bug? Next: ------------------------------------ <%@page contentType="text/html;charset=iso-8859-1"%> <%@page pageEncoding="iso-8859-1"%> <html> <head><title>JSP Page</title></head> <body> Õ õ Û û ------------------------------------ Ctrl-s,Close; Open: ------------------------------------ <%@page contentType="text/html;charset=iso-8859-1"%> <%@page pageEncoding="iso-8859-1"%> <html> <head><title>JSP Page</title></head> <body> Õ õ Û û ------------------------------------ Ok.
Created attachment 13132 [details] three examples screenshot after "Ctrl-s , Close , Open"
not a bug
Hi, this bug is reported against the 3.5, where the bug is still. In the maintrunk this bug is almost fixed. It's the same issue as #34339, which I solve now in the trunk.
*** This issue has been marked as a duplicate of 34339 ***