<?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: Problem with character encoding when uploading an app in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2528#M553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;SOLUTION:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;yesterday finally i find the solution.&lt;/P&gt;&lt;P&gt;The problem is with the filesystem on my windows is not UTF-8 by default, and the tomcat instalacion is on windows.&lt;/P&gt;&lt;P&gt;To solve that we simply put this property to the JVM:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-Dfile.encoding=UTF-8&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now i import the accents ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I find another problem with accents... I&amp;nbsp;will open another question for that I&amp;nbsp;link here to avoid cross topics.&lt;/P&gt;&lt;P&gt;The summary is if I download an app with one of the files have an accent on the filename, if i unzip the file and zip it again and try to upload give me an upload error:&lt;BR /&gt;&lt;EM&gt;08:53:55,516 [http-nio-8080-exec-4] ERROR com.activiti.service.editor.AlfrescoAppDefinitionService - Error reading app definition zip file&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;java.lang.IllegalArgumentException: MALFORMED&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at java.util.zip.ZipCoder.toString(ZipCoder.java:58)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:300)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link to this problem&amp;nbsp;Question:&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/227608"&gt;Error reading app definition zip file (with accents chars)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 07:57:39 GMT</pubDate>
    <dc:creator>oathmind</dc:creator>
    <dc:date>2017-01-11T07:57:39Z</dc:date>
    <item>
      <title>Problem with character encoding when uploading an app</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2526#M551</link>
      <description>Activiti 1.5.XWhen i upload a app definition with process, forms, and stencils. If ani element.. for example a field name of a form contains extrange characters like accents, they upload inccorecly, for examlpe "Número" -&amp;gt; ""NÃºmero".Otherwise if i upload the form directly in the forms tab (not i</description>
      <pubDate>Thu, 05 Jan 2017 13:35:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2526#M551</guid>
      <dc:creator>oathmind</dc:creator>
      <dc:date>2017-01-05T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with character encoding when uploading an app</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2527#M552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... I've tried to replicate this in Activiti 1.5.X without any success. &lt;BR /&gt;This was my validation process:&lt;BR /&gt;1) Create process model with a basic flow including a form.&lt;BR /&gt;2) Create form in the process editor and added 2 display fields both using special characters: 'Thîß field hæs special characters' &amp;amp; 'This fįęld does too'&lt;BR /&gt;3) Export the saved process model; Checking the file to make sure exports came out appropriately&lt;BR /&gt;4) Import into a separate clean account; Checking field names after the import.&lt;BR /&gt;&lt;BR /&gt;In both places the characters stayed as specified, including within the database table containing the form and process data. Is there any other helpful information surrounding this that you could provide? Perhaps you've specified an encoding that doesn't support special characters in the same way?&lt;BR /&gt;&lt;BR /&gt;-JEarles&lt;BR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 23:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2527#M552</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-01-10T23:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with character encoding when uploading an app</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2528#M553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;SOLUTION:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;yesterday finally i find the solution.&lt;/P&gt;&lt;P&gt;The problem is with the filesystem on my windows is not UTF-8 by default, and the tomcat instalacion is on windows.&lt;/P&gt;&lt;P&gt;To solve that we simply put this property to the JVM:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-Dfile.encoding=UTF-8&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now i import the accents ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I find another problem with accents... I&amp;nbsp;will open another question for that I&amp;nbsp;link here to avoid cross topics.&lt;/P&gt;&lt;P&gt;The summary is if I download an app with one of the files have an accent on the filename, if i unzip the file and zip it again and try to upload give me an upload error:&lt;BR /&gt;&lt;EM&gt;08:53:55,516 [http-nio-8080-exec-4] ERROR com.activiti.service.editor.AlfrescoAppDefinitionService - Error reading app definition zip file&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;java.lang.IllegalArgumentException: MALFORMED&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at java.util.zip.ZipCoder.toString(ZipCoder.java:58)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:300)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link to this problem&amp;nbsp;Question:&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/227608"&gt;Error reading app definition zip file (with accents chars)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 07:57:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-character-encoding-when-uploading-an-app/m-p/2528#M553</guid>
      <dc:creator>oathmind</dc:creator>
      <dc:date>2017-01-11T07:57:39Z</dc:date>
    </item>
  </channel>
</rss>

