[exo-jcr-commits] exo-jcr SVN: r4211 - jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/faq.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Apr 6 04:07:54 EDT 2011


Author: tolusha
Date: 2011-04-06 04:07:53 -0400 (Wed, 06 Apr 2011)
New Revision: 4211

Modified:
   jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/faq/jcr-faq.xml
Log:
EXOJCR-1290: correct using mutilingial content on MySQL

Modified: jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/faq/jcr-faq.xml
===================================================================
--- jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/faq/jcr-faq.xml	2011-04-06 07:55:50 UTC (rev 4210)
+++ jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/faq/jcr-faq.xml	2011-04-06 08:07:53 UTC (rev 4211)
@@ -174,10 +174,17 @@
       <section>
         <title>How to setup eXo JCR for mutilingial content on MySQL?</title>
 
-        <para>MySQL database should be configured to use single-byte encoding,
-        e.g. "latin1". eXo JCR application (e.g. GateIn) should use JCR
-        dialect "MySQL-UTF8".</para>
+        <para>To allow multiple character sets to be sent from the client, the
+        UTF-8 encoding should be used, either by configuring utf8 as the
+        default server character set, or by configuring the JDBC driver to use
+        UTF-8 through the characterEncoding property. MySQL database should be
+        created in single-byte encoding, e.g. "latin1": </para>
 
+        <programlisting>CREATE DATABASE db1 CHARACTER SET latin1 COLLATE latin1_general_cs;</programlisting>
+
+        <para>eXo JCR application (e.g. GateIn) should use JCR dialect
+        "MySQL-UTF8".</para>
+
         <para>In other words: MySQL database default encoding and JCR dialect
         cannot be UTF8 both. Use single-byte encoding (e.g. "latin1") for
         database and "mysql-utf8" dialect for eXo JCR.</para>
@@ -453,7 +460,7 @@
 
         <itemizedlist>
           <listitem>
-            <para> Remote sites can be visualized as different buildings
+            <para>Remote sites can be visualized as different buildings
             seperated by a WAN network.</para>
           </listitem>
         </itemizedlist>



More information about the exo-jcr-commits mailing list