This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Language problem

 
Ferdinand Chan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I am a newbies using the JBoss 4.0.

My company is based in HK and all my work is related to Chinese.

However, I find that there is a lot of encoding problem when I write a JSP page with Chinese Characters to be displayed.

Anyone can advices how to set the default encoding of the server?

I am able to display the Chinese character when I set the JSP as follows

<%@ page language="java" pageEncoding="BIG5" contentType="text/html; charset=UTF8"%>

I am using Eclipse as the IDE for writing the JSP page

However, when I wanna to display a variables which stores Chinese character, using <%= character %>, the word is broken and I don't know how to do.

Can anyone please help

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic