Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-446

No way to set default page encoding for Pluto

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5, 2.0.0
    • portal driver
    • None

    Description

      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?

      Attachments

        1. pluto-encoding2.diff
          2 kB
          miceuz
        2. pluto-web.xml.diff
          0.6 kB
          miceuz

        Activity

          People

            Unassigned Unassigned
            miceuz miceuz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: