File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss Language problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Language problem" Watch "JBoss Language problem" New topic

JBoss Language problem

Ferdinand Chan

Joined: Jul 02, 2004
Posts: 3
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

I agree. Here's the link:
subject: JBoss Language problem
It's not a secret anymore!