Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Internationalization in was5.0

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application with internationalization feature running well in WAS v3.5.7
We put
-Ddefault.client.encoding=ISO8859-1
into command line argument column of application server configuration,
And in our jsp page, we put
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
and the character which is
��������
will correctly converted into chinese character.


But when we try to do the same thing in WSAD 5.0, it is not working!
I put the
-Ddefault.client.encoding=ISO-8859-1
command into Java VM arguments column, but it's not working.
I found out from some articles saying that since WAS v4.0 they have another command
-Dclient.encoding.override=ISO-8859-1
So, I put this one too. But it's still not working.

if I rename the file which consists of chinese character from jsp to html, it will show the chinese character properly.

But we can't convert all of the jsp to html!

please help me!
 
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!