• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

utf-8 and big5 encoding

 
Jack Lau
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Does anyone know how to display the words in big5 encoding in b.jsp that the request is sent from a.jsp which using utf-8 encoding ?

Thanks,
Jack
 
David Bridgewater
author
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jack...

Are you including or forwarding from a.jsp to b.jsp?

I think you are on a hiding to nothing if you try to mix two encodings in the same response; that's what I understand by this line from the JSP spec...

"Note that the response character encoding can only be changed until the
response is committed."

So my guess is that you will be OK with forwarding, but die a horrible death (or not get the response you want) with including.

Anybody?

D.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic