<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Arial Rounded MT Bold";
panose-1:2 15 7 4 3 5 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
p.Textodeglobo, li.Textodeglobo, div.Textodeglobo
{mso-style-name:"Texto de globo";
mso-style-link:"Texto de globo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.TextodegloboCar
{mso-style-name:"Texto de globo Car";
mso-style-priority:99;
mso-style-link:"Texto de globo";
font-family:"Tahoma","sans-serif";}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:621151558;
mso-list-type:hybrid;
mso-list-template-ids:-59609782 201981967 201981977 201981979 201981967 201981977 201981979 201981967 201981977 201981979;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1
{mso-list-id:1901017158;
mso-list-type:hybrid;
mso-list-template-ids:497556312 201981953 201981955 201981957 201981953 201981955 201981957 201981953 201981955 201981957;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:38.25pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:74.25pt;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l1:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2
{mso-list-id:2097357194;
mso-list-type:hybrid;
mso-list-template-ids:-1482908746 201981953 201981955 201981957 201981953 201981955 201981957 201981953 201981955 201981957;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l2:level2
{mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Dear Enric,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Why you wanna have two different encoding ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">UTF-8 is for almost, if not for every language sufficient (so far I know<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">of no language), even Japanese which basically include traditional chinese char.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">plus japanese characters.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I would recommend to just stick to UTF-8 for both languages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Thomas Adams</span></b><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:red">Director Application Development</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">
<br>
<br>
</span><b><span lang="EN-US" style="font-size:22.5pt;font-family:"Arial Rounded MT Bold","sans-serif";color:#3966FD">I</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">
</span><b><span lang="EN-US" style="font-size:22.5pt;font-family:"Arial Rounded MT Bold","sans-serif";color:#CC0611">O</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151"><br>
</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Interone China // Office Beijing<br>
</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">1205-06, e -Tower, 12 Guanghua Road<br>
Chaoyang District, Beijing 100020, China<br>
<br>
</span><b><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:black">北京天一国际广告有限公司</span></b><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black"><br>
</span></b><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:#515151">光华路丙</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">12</span><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:#515151">号数码</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">01</span><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:#515151">大厦</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">1205-06</span><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:#515151">室</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151"><br>
100020 </span><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:#515151">北京</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">,
</span><span lang="ZH-CN" style="font-size:9.0pt;font-family:SimSun;color:#515151">朝阳区</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151"><br>
<br>
</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">T.</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151"> +86 10.65 91 3792 ext.3026<br>
</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">M.</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151"> +86 137 177 48058<br>
</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">F.</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151"> +86 10.65 91 3892<br>
<b><a href="http://www.interone.cn/" target="_blank"><span style="color:black">http://www.interone.cn</span></a><br>
<br>
<br>
</b></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#12800A">Please consider the environment before printing this e-mail.<br>
<br>
</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#515151">This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure,
copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail. We appreciate your cooperation.</span><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun;color:#1F497D"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<b>On Behalf Of </b>Albiach, Enric (MAD-MRM)<br>
<b>Sent:</b> Freitag, 21. Oktober 2011 00:25<br>
<b>To:</b> opencms-dev@opencms.org<br>
<b>Subject:</b> [opencms-dev] Tradition Chinese (Big5) and English (UTF-8)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have to develop a webpage on English (UTF-8) and Traditional Chinese (Big5). So, I will create on OpenCms 2 folders:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">“en” for the English site with the following properties:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:74.25pt;text-indent:-18.0pt;mso-list:l1 level2 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">locale = en<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:74.25pt;text-indent:-18.0pt;mso-list:l1 level2 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">content-encoding = utf-8<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:38.25pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">“zh” for Traditional Chinese site with the following properties:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:74.25pt;text-indent:-18.0pt;mso-list:l1 level2 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">locale = zh<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:74.25pt;text-indent:-18.0pt;mso-list:l1 level2 lfo2">
<![if !supportLists]><span lang="EN-US" style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">content-encoding = big5<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The content will be the same on both sites. So, I will create sibling files of the type “Page with free text” on both folders.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What happens if I follow these steps?:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo4"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">I create a “Page with free text” named “faq.html” on “/en” folder.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo4"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">I create a sibling of that file on “/zh” folder with the same name “faq.html”.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo4"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">I go to “/zh” folder and I edit the file “faq.html” (the Chinese language will be automatically selected on the Language dropdown list of the HTML editor) and save it. The file is stored in Big5 encoding.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo4"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">I go to “/en” folder and I edit the file “faq.html” (the English language will be automatically selected on the Language dropdown list of the HTML editor) and save it.
<b><u>The file is stored is stored in Utf-8 encoding</u></b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Three questions:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l2 level1 lfo6"><![if !supportLists]><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">After the step 4, will I lose the Big5 encoding of the Chinese section of the underlying XML file (created on the step 3)? Am I right?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l2 level1 lfo6"><![if !supportLists]><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">What is the best way to approach this development? Maybe, create separated files instead of siblings.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l2 level1 lfo6"><![if !supportLists]><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">Does anyone know if Traditional Chinese can be stored using UTF-8 encoding?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Enric<o:p></o:p></span></p>
</div>
</body>
</html>