You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "miceuz (JIRA)" <ji...@apache.org> on 2007/11/26 11:53:43 UTC
[jira] Created: (PLUTO-446) No way to set default page encoding for
Pluto
No way to set default page encoding for Pluto
---------------------------------------------
Key: PLUTO-446
URL: https://issues.apache.org/jira/browse/PLUTO-446
Project: Pluto
Issue Type: Bug
Components: portal driver
Affects Versions: 1.1.4
Reporter: miceuz
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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "miceuz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
miceuz updated PLUTO-446:
-------------------------
Attachment: (was: pluto-encoding.diff)
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Attachments: pluto-encoding2.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "miceuz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
miceuz updated PLUTO-446:
-------------------------
Attachment: pluto-encoding.diff
this patch fixes above error.
now the driver servlet looks for "charset" init param in web.xml like it was in 1.0.1 release.
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Attachments: pluto-encoding.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PLUTO-446) No way to set default page encoding
for Pluto
Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545827 ]
Craig Doremus commented on PLUTO-446:
-------------------------------------
This patch does not work because the CONTENT_TYPE value is not set in doGet(). Also, can you copy over the commented out 'charset' init-param in web.xml from Pluto 1.0.1 source code? Please test this when you have done these changes.
Also, you should be aware that individual portlets can set their content type (and charset) using RenderResponse.setContentType().
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Attachments: pluto-encoding.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "miceuz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
miceuz updated PLUTO-446:
-------------------------
Attachment: pluto-encoding2.diff
sorry for the last patch, this one really does work.
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Attachments: pluto-encoding2.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliot Metsger updated PLUTO-446:
---------------------------------
Fix Version/s: 1.2.0
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Fix For: 1.2.0, 1.1.5
>
> Attachments: pluto-encoding2.diff, pluto-web.xml.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "miceuz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
miceuz updated PLUTO-446:
-------------------------
Fix Version/s: 1.1.5
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Fix For: 1.1.5
>
> Attachments: pluto-encoding2.diff, pluto-web.xml.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "miceuz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
miceuz updated PLUTO-446:
-------------------------
Attachment: pluto-web.xml.diff
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Attachments: pluto-encoding2.diff, pluto-web.xml.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PLUTO-446) No way to set default page encoding for
Pluto
Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliot Metsger updated PLUTO-446:
---------------------------------
Fix Version/s: (was: 1.2.0)
2.0.0
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Fix For: 2.0.0, 1.1.5
>
> Attachments: pluto-encoding2.diff, pluto-web.xml.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PLUTO-446) No way to set default page encoding
for Pluto
Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliot Metsger resolved PLUTO-446.
----------------------------------
Resolution: Fixed
Committed (modified the patch a little bit) to both 1.1.x and trunk.
> No way to set default page encoding for Pluto
> ---------------------------------------------
>
> Key: PLUTO-446
> URL: https://issues.apache.org/jira/browse/PLUTO-446
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.4
> Reporter: miceuz
> Fix For: 2.0.0, 1.1.5
>
> Attachments: pluto-encoding2.diff, pluto-web.xml.diff
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.