I think that your suggestion resolves only a part of the problem.
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>\
How to set globally the pageEncoding to UTF-8?
I have another problem how to set resin parsing of forms POST to UTF-8?
I notice that resin 3.0.23 has problems when a browser POSTs data in
UTF-8 encoding so I need a filter that sets this for each request.
request.setAttribute("caucho.form.character.encoding","UTF-8");
Is this correct? Is any documqntation about this metter?
Thanks.
Andrea Sodomaco
Andrea Sodomaco Consulenze Informatiche
Via Giacometti, 4 - 34146 TRIESTE
Tel.: 040 281648 / 338 3565702 - Fax: 040 46069349
www.sodomaco.it
-----Messaggio originale-----
Da: resin-interest-bounces at caucho.com
[mailto:resin-interest-bounces at caucho.com] Per conto di Yong Bakos
Inviato: mercoled? 27 giugno 2007 18.28
A: General Discussion for the Resin application server
Oggetto: Re: [Resin-interest] How to set default/global response
encoding?
Hans, don't declare it manually in every jsp -- just once in your
header portion of your view/jsp templates, which would typically be
included in each individual jsp.
On Jun 27, 2007, at 8:59 AM, Hans Loeblich wrote:
I need to know if there is any way to make UTF-8 my default charset
encoding. Do I really have to set the page contentType at the top of
every jsp? It currently defaults to ISO-8559-1 if I do not explicitly
set it.
Thank you,
Hans Loeblich
_______________________________________________
resin-interest mailing list
resin-interest at caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest