This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnsupportedEncodingException: Cp1256

 
M Raghid Sandouq
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i have developed a web site in JAVA, and i was testing it on tomcat 5.0.24, when finished i have uploaded it to the ISP server, tomcat version is 5.0.19 when i tried to browse the JSP page i got this error:
java.io.UnsupportedEncodingException: Cp1256

i have noticed that tomcat server does not support these lines

response.setContentType("text/html; charset=windows-1256");
request.setCharacterEncoding("windows-1256");

is there any solution to solve this problem...

thanks a lot...
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"MRS" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy. User names cannot be obviously fake and must constist of a first name and a last name.

You can change your user name here.

Thanks! and welcome to the JavaRanch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic