  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Spanish characters | Spanish characters 2007-02-15 - By Juan Espinosa
Back Dou you mean that i must put in every jsp page something like this
<%@ page language="java" contentType="text/html; charset=UTF-8 (See http://UTF-8.ora-code.com)" pageEncoding="UTF-8 (See http://UTF-8.ora-code.com)"%>
Juan
-- --Mensaje original-- -- De: Christopher Schultz [mailto:chris@(protected)] Enviado el: jueves, 15 de febrero de 2007 11:09 Para: Struts Users Mailing List Asunto: Re: Spanish characters
-- --BEGIN PGP SIGNED MESSAGE-- -- Hash: SHA1
Juan and Zheng,
Shuai Zheng wrote: > Add the following line into your web.xml
It's only appropriate to use the CharacterEncodingFilter to force your requests to be UTF-8 (See http://UTF-8.ora-code.com) if all your pages are being /served/ in UTF-8 (See http://UTF-8.ora-code.com).
Since you want to deal with "special" characters, you should set everything to UTF-8 (See http://UTF-8.ora-code.com).
- -chris
-- --BEGIN PGP SIGNATURE-- -- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF1Glo9CaO5/Lv0PARAorUAKCAL0/IGrLHb6RtCTGx6CAvrlpJBgCgr6nS rIFEqFCSlJW2sz7XzYJORr0= =vk4l -- --END PGP SIGNATURE-- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007 16:17
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007 16:17
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |