File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Problem with � sign Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

Problem with � sign

Emma Claims
Greenhorn

Joined: Sep 04, 2007
Posts: 3
Hello Ranchers,

I am very new to struts.

In my application i have a form that has a textfield and the input from the textfield is set to a String object in my form class.

It all works fine, except that when i submit a � sign the � sign is changed to �� which is very strange.

It doesnt seem to do this with any other character just a � character that then changes to ��.

Does anyone know why this happens?

I am using tomcat 5.

Happy days peeps,

Em
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Problem with � sign
 
Similar Threads
Unicode Input
JavaScript?
JavaScript/java equivalent function?
Strange Character changing
Struts Form Submit