• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

utf-8 and big5 encoding

 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic