Problems when reading and displaying cerain characters using servlets [message #171624] |
Tue, 19 September 2006 18:59 |
Eclipse User |
|
|
|
Originally posted by: anthony.dearg.net
Hello everyone,
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. Everyhing
used to work fine with Eclipse 3.1. Besides reverting to this version
of eclipse s 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 on:Problems when displaying cerain characters using servlets [message #171794 is a reply to message #171624] |
Wed, 20 September 2006 15:25 |
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.07847 seconds