<?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 Charset or encoding issue, please help! in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209957#M163087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfully deployed my web scripts to my Tomcat instance and everything's fine. However, the problems appear when deploying the same code to JBoss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is fine except for the webscript encoding (or charset, I have no idea…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the following web script definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;shortname&amp;gt;Spaces&amp;lt;/shortname&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;description&amp;gt;Generate the Spaces portlet page&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;url&amp;gt;/ui/sosspaces?f={filter?}&amp;amp;amp;p={path?}&amp;lt;/url&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sending that (from another web script):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;http :// URL:8080/alfresco/service/ui/sosspaces?f=0&amp;amp;p=%2FCompany%20Home%2FTests%2FMyTest%20-%20Num1%2FRegion%20My%20Region%2FNew%20consultation%2FMar%C3%ADa&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's to say, for the second parameter: /Company Home/Tests/MyTest - Num1/Region/My Region/New consultation/María&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then, whereas Tomcat is receiving correctly the parameter: /Company Home/Tests/MyTest - Num1/Region/My Region/New consultation/María&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The same code deployed in JBoss is receiving:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /Company Home/Tests/MyTest - Num1/Region/My Region/New consultation/MarÃ­a &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the "%2F" characters are recognized as "/" or "%20" as space character, but "%C3%ADa" is not the "í" character???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This webscript tries to retrieve the path's content and is failing because it can't be found. How can I fix it?? Is a JBoss configuration issue?? Must I set the charset or enconding of my web scripts? How?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2009 09:14:50 GMT</pubDate>
    <dc:creator>sergi_l</dc:creator>
    <dc:date>2009-05-12T09:14:50Z</dc:date>
    <item>
      <title>Charset or encoding issue, please help!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209957#M163087</link>
      <description>Hi all,I have successfully deployed my web scripts to my Tomcat instance and everything's fine. However, the problems appear when deploying the same code to JBoss.Everything is fine except for the webscript encoding (or charset, I have no idea…)For the following web script definition:&amp;lt;webscript&amp;amp;g</description>
      <pubDate>Tue, 12 May 2009 09:14:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209957#M163087</guid>
      <dc:creator>sergi_l</dc:creator>
      <dc:date>2009-05-12T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Charset or encoding issue, please help!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209958#M163088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your URLEncoding is not correct.&amp;nbsp;&amp;nbsp;&amp;nbsp; The code for the i with an accent is %ED&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 10:09:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209958#M163088</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-05-12T10:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Charset or encoding issue, please help!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209959#M163089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks mrrogers, but I need more help… The URLEncoding is set by default, how can I change it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL is generated from another webscript following this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${url.serviceContext}/ui/smsspaces?f=${args.f}&amp;amp;amp;p=${args.p?url}%2F${d.name?url}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the "${d.name?url}" is who's generating the code for the "i" with accent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me explain you an easier scenario!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My script is just an extension of the Alfresco's out of the box My Spaces List web script (alfresco/service/ui/myspaces?f={filter?}&amp;amp;p={path?}). Let's think on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use it from the My Alfresco's dashboard, I can browse all the folders (including "María") and everything's fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, if I invoke it outside Alfresco, through the URL: http :// MyIP:8080/alfresco/service/ui/myspaces?f=0&amp;amp;p=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The web script is loaded showing the Company Home folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I browse to the folder "María" it will fail again. The same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why does Alfresco work and all the characters are shown correctly also for web scripts, but the webscripts invoked outside directly from the browser (IE, Firefox) are failing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The configuration is Suse linux + Oracle9 + JBoss&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 10:29:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/charset-or-encoding-issue-please-help/m-p/209959#M163089</guid>
      <dc:creator>sergi_l</dc:creator>
      <dc:date>2009-05-12T10:29:00Z</dc:date>
    </item>
  </channel>
</rss>

