[Vtigercrm-developers] vtiger CRM 5.0.4 validation testbuild II

Prasad prasad at vtiger.com
Fri Nov 23 23:04:01 PST 2007


Hi,

Thank you Joe for extension of the fix. We will integrate it soon.

Regards,
Prasad
vtiger Team

On 11/23/07, Joe Bordes <joe at tsolucio.com> wrote:
>
> Hi,
>
> Yes that fixes the problems I had seen.
>
> Might I suggest to establish the fix as:
>
> function to_html($string, $encode=true){
>    global $app_strings, $default_charset;
>    $charset = (isset($app_strings['LBL_CHARSET']) ?
> $app_strings['LBL_CHARSET'] : $default_charset);
> ....
>         $string = htmlentities($string, ENT_QUOTES,$charset);
> ....
> }
>
>
> Which gives preference to the language files settings as in other
> sections of the application.
>
> Regards, Joe
> TSolucio
>
> El vie, 23-11-2007 a las 19:40 +0530, Minnie A escribió:
> > Hi,
> >
> > It will be good to use the below method instead of the previous one.
> >
> > File : include/utils/utils.php
> > Method : to_html()
> > Changes :
> >
> > 1. global $log; to global $log,$default_charset ; //line no : 871
> >
> > 2. $string = htmlentities($string, ENT_QUOTES);  to  $string =
> > htmlentities($string, ENT_QUOTES,$default_charset);  //line no : 879
> >
> > Thanks & Regards,
> > Minnie.
> >
> > On 11/23/07, Minnie A <minnie at vtiger.com> wrote:
> >         Hi,
> >
> >         Thank you for intimating this issue.
> >
> >         We missed in some places to include UTF-8 support. Due to
> >         this, problem occurred in displaying records. Issue got fixed
> >         and also updated in demo server also. Kindly include the
> >         following change in your setup also.
> >
> >         File : include/utils/utils.php
> >         Method : to_html()
> >         Change : $string = htmlentities($string, ENT_QUOTES);
> >                        to
> >                        $string = htmlentities($string,
> >         ENT_QUOTES,"UTF-8");
> >
> >         Kindly update us if you get any other issues.
> >
> >         Thanks & Regards,
> >         Minnie.
> >
> >         On 11/22/07, Joe Bordes <joe at tsolucio.com> wrote:
> >                 Hi,
> >
> >                 Don't know if I am doing something wrong but I cannot
> >                 use any type of
> >                 special caracters with this new version. I have
> >                 installed it on my
> >                 machine with a UTF8 database and latin1, I cannot
> >                 insert any accent or
> >                 special caracters.
> >
> >                 I tried creating an account with accents on the demo
> >                 and it doesn't work
> >                 there either.
> >
> >                 Is it my browser configuration? I have tried with
> >                 different
> >                 codifications with the same results?
> >
> >                 Joe
> >                 TSolucio
> >
> >                 _______________________________________________
> >                 Reach hundreds of potential candidates -
> >                 http://jobs.vtiger.com
> >
> >
> > _______________________________________________
> > Reach hundreds of potential candidates - http://jobs.vtiger.com
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20071124/5c5fee67/attachment-0003.html 


More information about the vtigercrm-developers mailing list