This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with � sign
 
Similar Threads
Unicode Input
JavaScript?
JavaScript/java equivalent function?
Strange Character changing
Struts Form Submit