Problems displaying cerain characters using servlets [message #23145] |
Wed, 20 September 2006 13:12  |
Eclipse User |
|
|
|
Originally posted by: anthony.dearg.net
Hello everyone,
I have recently moved development to a new PC. I up graded from Eclipse
3.1 to Eclipse 3.2. Since then I am having problems with displaying the
bulletpoint · character and the double quote " character in HTML using
servlets. I can create an ordinary(New-> File) html file and print these
characters without a problem but when I try to use a servlet to do this I
only get the question mark character printed to screen instead of the
characters that should be printed. Everyhing used to work fine with
Eclipse 3.1. Besides reverting to this version of eclipse is their
anything I can do in Eclipse to solve this problem. I dont want to depend
on Java methods like
String old1="·";
String new1="<BR>";
Description=Description.replaceAll(old1,new1);
//Description is a String that I want to display on the web page
as I dont know what characters I will come accross in the future that will
cause similar problems. Has anyone come accross something like this before
or can anyone offer a potential solution.
Thanks,
Anthony.
|
|
|
Update To:Problems displaying cerain characters using servlets [message #23184 is a reply to message #23145] |
Thu, 21 September 2006 14:16   |
Eclipse User |
|
|
|
Originally posted by: anthony.dearg.net
Hello All.
Just to remove one from possible solutions.
In Project->Properties->Info the settings for the Text file encoding are
inherited form the container (Cp152) on both my old machine Eclipse 3.1
and and on my new machine Eclipse 3.2. Still my new achine is having
problems displaying certain characters
Best regards,
Anthony.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02163 seconds