<?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 Encoding problem and errors (Unable to delete Space), help! in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140126#M98151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm strugling with my first Alfresco 2.1 installation. I want it to work as a service under windows, so I'm not using the ready boundle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My system is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows Server 2003&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apache Tomcat 6.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MySQL 5.0.45&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Comunity 2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have managed to make everything working (except for OpenOffice running as a service) and strange encoding problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instructions said "for non-English or non-West European languages, choose UTF8 Character set" so I have modified db_setup.sql:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;CREATE DATABASE alfresco CHARACTER SET utf8 COLLATE utf8_general_ci; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now all tables in DB are created as UTF-8 (instead of Latin1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The page encoding is automatically set to UTF-8.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was sure it will work now… but for example user names and space names are still stored and displayed incorectly (the value in the DB is wrong and contains '?' instead of national character)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whats more Alfresco encounters error when I try to delete a space that has national characters in the name! (when I rename I can delete without any problems)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;01:16:21,909 ERROR [org.alfresco.web.ui.common.Utils] Unable to delete Space due to system error:&lt;BR /&gt;&lt;BR /&gt;javax.transaction.RollbackException: Transaction didn't commit: Integrity failure at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:412)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it OK that wrong user defined space name can cause errors…?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Oct 2007 00:44:00 GMT</pubDate>
    <dc:creator>mike54</dc:creator>
    <dc:date>2007-10-20T00:44:00Z</dc:date>
    <item>
      <title>Encoding problem and errors (Unable to delete Space), help!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140126#M98151</link>
      <description>Hi! I'm strugling with my first Alfresco 2.1 installation. I want it to work as a service under windows, so I'm not using the ready boundle.My system is:Windows Server 2003Apache Tomcat 6.0MySQL 5.0.45Alfresco Comunity 2.1I have managed to make everything working (except for OpenOffice running as a</description>
      <pubDate>Sat, 20 Oct 2007 00:44:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140126#M98151</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2007-10-20T00:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding problem and errors (Unable to delete Space), help!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140127#M98152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Simmiliar topics but no solution for me&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;National character metadata extraction&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=9036&amp;amp;highlight=utf8" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=9036&amp;amp;highlight=utf8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Store content properties in local languages&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=8072&amp;amp;highlight=utf8" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=8072&amp;amp;highlight=utf8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spce name in Chinese&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=8148&amp;amp;highlight=utf8" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=8148&amp;amp;highlight=utf8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I'm not using Chineese but Polish - results are the same- it's not working &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; I also have vTiger CRM installation on another MySQL and absolutelly no problems with encoding!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Oct 2007 09:09:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140127#M98152</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2007-10-20T09:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding problem and errors (Unable to delete Space), help!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140128#M98153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK! I have solved te problem!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I have created DB with &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;CHARACTER SET utf8&lt;BR /&gt;and COLLATE utf8_general_ci&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I thing alternativelly you can set &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[mysqld]&lt;BR /&gt;default-character-set=utf8&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Additionally I have modified my.ini located in MySQL folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[mysql]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;default-character-set=utf8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Be carefull not to use 'UTF-8' just 'utf8'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;than the DB was populated with tables in UTF-8 by Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the space names apper to work corectly!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Oct 2007 10:08:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encoding-problem-and-errors-unable-to-delete-space-help/m-p/140128#M98153</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2007-10-20T10:08:11Z</dc:date>
    </item>
  </channel>
</rss>

