Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
JBoss Language problem
Joined: Jul 02, 2004
Nov 05, 2004 03:32:00
I am a newbies using the
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
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
Have you checked out
subject: JBoss Language problem
ISO-8859-2 and Struts
problem of internationalism in struts framework
cannot use utf-8 to store utf-8 character, please help
Using JSONObject for Non-ascii text
Internationalization (specifically with Chinese characters)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015