tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LUN <wlt...@se.cuhk.edu.hk>
Subject Encoding Setting for PrintWriter
Date Tue, 26 Jun 2001 02:22:54 GMT
Hi all,
	I want to ask is ther any method to set the encoding for the
tomcat, I got the PrintWriter by PrintWriter out = response.getWriter(),
but I cannot print the String by correct encoding. 
	I only can do this by getOutputStream instead of getWriter() and 
write bytes instead of out.print(). 
	Any method to solve this ???
Thanks !



Mime
View raw message