Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Problem with text encoding..

ஆமாச்சு

2007-05-13

Replies:

Hi,

I am using Kubuntu edgy OS..

I installed Netbeans yesterday...

The installation went smooth and fine...

here are the setup I have,

1) JDK - 1.5.0_11
2) Netbeans - netbeans-5.5
3) Tomcat - Bundled with Netbeans...

I thought of developing a Struts application in my Language - Tamil...

so followed the instructions in

http://www.netbeans.org/kb/50/quickstart-webapps-struts.html

replaced the text/strings in .jsp pages to my language...

also replaced the text/ string in ApplicationResource.properties file to my language...

Problem #1:

In Netbeans IDE the text display wasn't proper.. both in .jsp and ApplicationResource.properties files.. in .jsp it was squares... and in ApplicationResource.properties i had some junk values...

so used Kate text editor to edit the .jsp file and ApplicationResource.properties files...

after completing i gave F6 and ran it.. it was successful.. The firefox browser opened... and the action was called..

Problem #2:

but the Tamil text that I had given in the .jsp file was properly displayed... The text that i gave in ApplicationResource.properties file wasn't displayed correctly...

I have uploaded the screenshot in the link given below.... The junk values can be identified as those next to "Your Name" in English..

http://flickr.com/photos/7841307@(protected)/

Kindly help me in fixing Problem #1 & #2..

Thank You..

--
அன்புடன்,
ஆமாச்சு.
https://wiki.ubuntu.com/sriramadas
http://amachu.net

சொல்லில் உயர்வு தமிழ்ச் சொல்லே - அதைத்
தொழுது படித்திடடி பாப்பா
செல்வம் நிறைந்தஹிந்து ஸ்தானம் - அதைத்
தினமும் புகழ்ந்திடடி பாப்பா
©2008 junlu.com - Jax Systems, LLC, U.S.A.