I meet the same problem,language is chinese,zh_cn,like the following :<br>When I patch your fix files,the log-in page become blank.<br><img scalingmode="zoom" diffpixels="22px" modifysize="93%" style="width: 1150px; height: 380px;" filesize="121950" src="cid:E24C3650@712E1607.B48D5255.jpg"><br><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Christophe Humbert";<chrissc.humbert@gmail.com>;</div><div><b>发送时间:</b> 2015年5月11日(星期一) 晚上7:54</div><div><b>收件人:</b> "vtigercrm-developers"<vtigercrm-developers@lists.vtigercrm.com>; <wbr></div><div></div><div><b>主题:</b> Re: [Vtigercrm-developers] Customer Portal</div></div><div><br></div><div dir="ltr"><div><div>Hello Olivier,<br><br></div>and with this one<br><br></div>Kind Regards<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Christophe Humbert<br><i>IT Program Manager</i><br><b>CoProcess S.A</b><br>+352 691 391 974<br>+33 6 50 09 48 88<br>Skype: chris.e.humbert<br><br></div></div>
<br><div class="gmail_quote">On Mon, May 11, 2015 at 1:35 PM, Christophe Humbert <span dir="ltr"><<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes it is shitty<br></div><div class="gmail_extra"><br clear="all"><div><div>Christophe Humbert<br><i>IT Program Manager</i><br><b>CoProcess S.A</b><br><a value="+352691391974" target="_blank">+352 691 391 974</a><br><a value="+33650094888" target="_blank">+33 6 50 09 48 88</a><br>Skype: chris.e.humbert<br><br></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Mon, May 11, 2015 at 12:52 PM, Olivier Hallot <span dir="ltr"><<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Oh that would be funny if that's wasn't a bug...<br>
<br>
Your fix now breaks another line headers that worked before. See image<br>
attached, compared to the previous.<br>
<br>
Kind regards<br>
<br>
Olivier<br>
<span><br>
<br>
On 10/05/2015 15:28, Christophe Humbert wrote:<br>
> Hello Olivier<br>
><br>
> Please find my utils.php<br>
><br>
> I think everything is covered (please validated)<br>
><br>
> Christophe<br>
><br>
><br>
> On Sun, May 10, 2015 at 6:53 PM, Christophe Humbert<br>
</span><span>> <<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a> <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>>> wrote:<br>
><br>
>     Olivier<br>
><br>
>     yes in the portal language file but all fields translation coming<br>
>     from vtiger and not the portal are not in utf-8<br>
><br>
>     that are the ones to be encoded in the portal<br>
><br>
><br>
><br>
>     Christophe<br>
><br>
>     On Sun, May 10, 2015 at 5:52 PM, Olivier Hallot<br>
>     <<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
</span><span>>     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>> wrote:<br>
><br>
>         Yes it works, but IMHO it does not fix the issue. All strings<br>
>         are in UTF-8 :<br>
><br>
>         ../language# file pt_br.lang.php<br>
>         pt_br.lang.php: PHP script, UTF-8 Unicode text<br>
><br>
>         So, there must be something upstream that is changing the<br>
>         codepage of<br>
>         the strings.<br>
><br>
>         After applying your fix I stumbled into another codepage issue<br>
>         as in the<br>
>         image attached... line headers also have codepages issues, sometimes<br>
>         yes, sometimes no...<br>
><br>
>         Kind regards<br>
><br>
>         Olivier<br>
><br>
>         On 10/05/2015 12:33, Christophe Humbert wrote:<br>
>         > Ok maybe a little less aggressive<br>
>         ><br>
>         > remove what you have done before and replace line 194 with this one<br>
>         > (still in utils.php in function getblock_fieldlistview($block_array,$block)<br>
>         > $list .=<br>
>         > "<th>".utf8_encode(getTranslatedString($header_arr[$i]['fielddata']))."</th>";<br>
>         ><br>
>         > Christophe<br>
>         ><br>
>         ><br>
>         > On Sun, May 10, 2015 at 5:11 PM, Olivier Hallot<br>
>         > <<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
</span><span>>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>>><br>
>         > wrote:<br>
>         ><br>
>         >     That fix the table headers but breaks the left side panel.<br>
>         ><br>
>         >     On 10/05/2015 12:03, Christophe Humbert wrote:<br>
>         >     > Hello Olivier,<br>
>         >     ><br>
>         >     > I think I found it<br>
>         >     ><br>
>         >     > in include/utils.php of the portal modify line 104 to<br>
>         >     > return<br>
>         >     > (isset($app_strings[$str]))?utf8_encode($app_strings[$str]):utf8_encode($str);<br>
>         >     ><br>
>         >     > and it should work<br>
>         >     ><br>
>         >     > Christophe<br>
>         >     ><br>
>         >     ><br>
>         >     > On Sun, May 10, 2015 at 4:58 PM, Olivier Hallot<br>
>         >     > <<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>><br>
</span><span>>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>>>><br>
>         >     > wrote:<br>
>         >     ><br>
</span><div><div>>         >     >     AFAI remember, I also changed the coding of the language strings, to<br>
>         >     >     check if it matters, but #fail.<br>
>         >     ><br>
>         >     >     Language strings in UTF-8 have their codepage changed on building the<br>
>         >     >     html content on these specific zones of the page.<br>
>         >     ><br>
>         >     >     regards<br>
>         >     ><br>
>         >     >     On 10/05/2015 11:51, Christophe Humbert wrote:<br>
>         >     >     > Ok I have investigated and<br>
>         >     >     > I f you put the UTF-8 encoding for you character in Vtiger (not portal)<br>
>         >     >     > where you have field translation it appearing ok on the portal but not<br>
>         >     >     > in Vtiger....so we should encode in utf-8 somewhere to have both working...<br>
>         >     >     ><br>
>         >     >     > Christophe<br>
>         >     >     ><br>
>         >     >     > On Sun, May 10, 2015 at 4:43 PM, Christophe Humbert<br>
>         >     >     > <<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a> <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>><br>
>         <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a><br>
>         <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>>><br>
>         >     <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a> <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>><br>
>         <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a><br>
>         <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>>>><br>
>         >     >     <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a> <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>><br>
>         >     <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a> <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>>><br>
>         >     >     <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a> <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>><br>
>         <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a><br>
>         <mailto:<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>>>>>> wrote:<br>
>         >     >     ><br>
>         >     >     >     Hello Olivier,<br>
>         >     >     ><br>
>         >     >     >     I you change the page character set with your bowser (chrome or<br>
>         >     >     >     Firefox) for me if I choose<br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     >         iso-<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>> <tel:<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>>> <tel:<a value="+352885915" target="_blank">8859-15</a><br>
>         <tel:<a value="+352885915" target="_blank">8859-15</a>><br>
</div></div>>         >     <tel:<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>>>> <tel:<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>><br>
<div><div>>         <tel:<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>>> <tel:<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>><br>
>         <tel:<a value="+352885915" target="_blank">8859-15</a> <tel:<a value="+352885915" target="_blank">8859-15</a>>>>><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     >     That is working and the page is well encoded<br>
>         in UTF-8 ....something<br>
>         >     >     >     weird<br>
>         >     >     ><br>
>         >     >     >     Christophe<br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     >     On Sun, May 10, 2015 at 4:24 PM, Olivier Hallot<br>
>         >     >     >     <<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>>><br>
>         >     >     >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>><br>
>         >     >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>><br>
>         >     <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a><br>
>         <mailto:<a href="mailto:olivier.hallot@libreoffice.org" target="_blank">olivier.hallot@libreoffice.org</a>>>>>> wrote:<br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     >         On 10/05/2015 10:48, Christophe Humbert wrote:<br>
>         >     >     >         > Hello<br>
>         >     >     >         ><br>
>         >     >     >         > I have a problem with the name of the<br>
>         fields in<br>
>         >     the customer portal when<br>
>         >     >     >         > they are translated with accent<br>
>         >     >     >         > see<br>
>         >     >     >         > Inline image 1<br>
>         >     >     >         ><br>
>         >     >     >         > Anyone has an idea on how to correct that?<br>
>         >     >     >         > Christophe Humbert<br>
>         >     >     >         ><br>
>         >     >     >         ><br>
>         >     >     >         ><br>
>         >     >     >         ><br>
>         _______________________________________________<br>
>         >     >     >         > <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         >     >     >         ><br>
>         >     >     ><br>
>         >     >     >         I have the same issue in pt-BR, tried to<br>
>         hack it,<br>
>         >     but gave up<br>
>         >     >     >         with not a<br>
>         >     >     >         clue on where this get messed.<br>
>         >     >     ><br>
>         >     >     ><br>
>          <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8491" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8491</a><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     >         --<br>
>         >     >     >         Olivier Hallot<br>
>         >     >     >         Comunidade LibreOffice<br>
>         >     >     >         <a href="http://ask.libreoffice.org/pt-br" target="_blank">http://ask.libreoffice.org/pt-br</a><br>
>         >     >     ><br>
>          _______________________________________________<br>
>         >     >     >         <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     ><br>
>         >     >     > _______________________________________________<br>
>         >     >     > <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         >     >     ><br>
>         >     ><br>
>         >     >     --<br>
>         >     >     Olivier Hallot<br>
>         >     >     Comunidade LibreOffice<br>
>         >     >     <a href="http://ask.libreoffice.org/pt-br" target="_blank">http://ask.libreoffice.org/pt-br</a><br>
>         >     >     _______________________________________________<br>
>         >     >     <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         >     ><br>
>         >     ><br>
>         >     ><br>
>         >     ><br>
>         >     > _______________________________________________<br>
>         >     > <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         >     ><br>
>         ><br>
>         >     --<br>
>         >     Olivier Hallot<br>
>         >     Comunidade LibreOffice<br>
>         >     <a href="http://ask.libreoffice.org/pt-br" target="_blank">http://ask.libreoffice.org/pt-br</a><br>
>         >     _______________________________________________<br>
>         >     <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         ><br>
>         ><br>
>         ><br>
>         ><br>
>         > _______________________________________________<br>
>         > <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>         ><br>
><br>
>         --<br>
>         Olivier Hallot<br>
>         Comunidade LibreOffice<br>
>         <a href="http://ask.libreoffice.org/pt-br" target="_blank">http://ask.libreoffice.org/pt-br</a><br>
><br>
>         _______________________________________________<br>
>         <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
><br>
<br>
--<br>
Olivier Hallot<br>
Comunidade LibreOffice<br>
<a href="http://ask.libreoffice.org/pt-br" target="_blank">http://ask.libreoffice.org/pt-br</a><br>
</div></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
</blockquote></div><br></div></div>