File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encoding

 
Wagner Danda Da Silva Filho
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey folks,

I'm having trouble with Encoding in Struts, specifically with a Dynaform that doesn't handle special chars. Help, please,
 
Wagner Danda Da Silva Filho
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic