You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Albertas Mickenas <al...@megalogika.lt> on 2007/11/21 11:46:30 UTC

Pluto default character encoding

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

i want pluto to use UTF-8 as a default encoding for web pages as by
default it uses ISO-8859-1.

I've red
http://portals.apache.org/pluto/userguide/portal.html#Internationalization
but it seems to be outdated, as in pluto 1.1.4 web.xml i don't see a
"pluto" servlet defined.

I've tried to put init parameter to plutoPortalDriver servlet with no luck:
<servlet>
    <servlet-name>plutoPortalDriver</servlet-name>
    <display-name>Pluto Portal Driver</display-name>
    <description>Pluto Portal Driver Controller</description>
	<servlet-class>org.apache.pluto.driver.PortalDriverServlet</servlet-class>
	 <init-param>
	     <param-name>charset</param-name>
	     <param-value>utf-8</param-value>
	 </init-param>
</servlet>

The question is how do i set default encoding to pluto generated web
content?
- --


albertas.
- ---------------
sistemu analitikas
UAB MegaLogika, www.megalogika.lt, tel. +37052611428
man patinka aktyvi protoplazma,
bet man patinka ir pasyvi protoplazma
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHRAyFJ2lgtwRRHqERAs9fAKCUZ74E+Vaq3l06GSP4YBvANIroAACfawKi
IhOoyrtoV/+h/NZNz+MNKdM=
=poEK
-----END PGP SIGNATURE-----