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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Encoding" Watch "Encoding" New topic
Author

Encoding

Wagner Danda Da Silva Filho
Ranch Hand

Joined: Mar 21, 2003
Posts: 80
Hey folks,

I'm having trouble with Encoding in Struts, specifically with a Dynaform that doesn't handle special chars. Help, please,


SCJP, SCWCD
Wagner Danda Da Silva Filho
Ranch Hand

Joined: Mar 21, 2003
Posts: 80
This time I'll answer myself, this was very easy to solve:

I changes the jsp page directive from:
<%@ page language="java" pageEncoding="UTF-8"%>

To:
<%@ page language="java" pageEncoding="ISO-8859-1"%>

And everything starts to work just fine!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encoding
 
Similar Threads
help!!! please
A few questions
Direct Encoding J2ME
problem with search engines
encoding URL in (href element of) JSP without scriptlets