<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Encoding issue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53527#M31713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, do you see anything else that can solve the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thing I can add is that the text entered in the inputText in my own jsp is transfered to my own backing bean with already a bad encoding. So it does not seem only a problem of page rendering encoding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2007 10:59:13 GMT</pubDate>
    <dc:creator>brasseur</dc:creator>
    <dc:date>2007-01-04T10:59:13Z</dc:date>
    <item>
      <title>Encoding issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53522#M31708</link>
      <description>I have implemented a custom JSP under Alfresco 1.4 which contains some inputText.When I am typing a word containing an accent (i.e 'Ã©tÃ©') in these inputText with the browser configuration set to the encoding ISO-8859-1, the word is bad encoded and it appears with some '?' character instead of the</description>
      <pubDate>Fri, 22 Dec 2006 12:49:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53522#M31708</guid>
      <dc:creator>brasseur</dc:creator>
      <dc:date>2006-12-22T12:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53523#M31709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I already put in my jsp the same stuff as in the JSPs from alfresco like:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;h:form acceptCharset="UTF-8" id="customJSP"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Is there something more I have to add to my JSP or to my backing bean to force the UTF-8 encoding?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks correct. There is nothing to add to the backing bean. I'm not sure why this isn't working for you. Can you provide any more details on the changes you are making?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:10:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53523#M31709</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-01-02T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53524#M31710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact, the problem happens only under SUN environment when the environment parameter 'locale' is defined to 'ISO-8859-15'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Despite, we are forcing the endoding to UTF-8 in the JSP, it appears that the session parameter 'javax.faces.request.charset' is re-defined automatically to 'ISO-8859-1' when submiting the form we created. Moreover, the first time we are accessing our custom JSP, that parameter 'javax.faces.request.charset' is set to 'UTF-8'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any idea why the encoding value stored in the session is changing after submitting the form? Is there something we can do to prevent it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 15:50:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53524#M31710</guid>
      <dc:creator>brasseur</dc:creator>
      <dc:date>2007-01-02T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53525#M31711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just discover another thing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the beginning of the JSP browse.jsp from alfresco, there is the following peace of java code after the tag &amp;lt;f:view&amp;gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FacesContext fc = FacesContext.getCurrentInstance();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // set locale for JSF framework usage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fc.getViewRoot().setLocale(Application.getLanguage(fc));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have this code in my own JSP. Could it resolve my problem if I had it in the beginning of my own jsp?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 09:53:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53525#M31711</guid>
      <dc:creator>brasseur</dc:creator>
      <dc:date>2007-01-04T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53526#M31712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In the beginning of the JSP browse.jsp from alfresco, there is the following peace of java code after the tag &amp;lt;f:view&amp;gt;:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;%&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FacesContext fc = FacesContext.getCurrentInstance();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // set locale for JSF framework usage&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fc.getViewRoot().setLocale(Application.getLanguage(fc));&lt;BR /&gt;&amp;nbsp;&amp;nbsp; %&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I don't have this code in my own JSP. Could it resolve my problem if I had it in the beginning of my own jsp?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No this code will not affect the page rendering encoding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 10:30:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53526#M31712</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-01-04T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53527#M31713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, do you see anything else that can solve the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thing I can add is that the text entered in the inputText in my own jsp is transfered to my own backing bean with already a bad encoding. So it does not seem only a problem of page rendering encoding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 10:59:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-issue/m-p/53527#M31713</guid>
      <dc:creator>brasseur</dc:creator>
      <dc:date>2007-01-04T10:59:13Z</dc:date>
    </item>
  </channel>
</rss>

