Detailed descriptions not visible

2013-09-25
2014-10-09
  • Jean-Mi Bemol

    Jean-Mi Bemol - 2013-09-25

    Hello, I'm working actually with version 1.2.7 in production on a Centos 5.9 server.
    I realized that detailed description that exceedes 97 characters is not displayed in the entry. That's working fine with Sunbird.
    Has anybody a solution ?
    Thanks a lot.

     
    Last edit: Jean-Mi Bemol 2013-09-26
  • Jean-Mi Bemol

    Jean-Mi Bemol - 2013-10-09

    Thanks for the link. I've tried everything but I've got the same problem.
    I even tried to put a .htaccess file with "AddDefaultCharset UTF-8
    " in it but without success.
    When I insert a description with accents, it doesn't appear.

    Thank you.

     
    • baptiste laporte

      Hi, for french display, I have manualy modified script includes/functions.php the function build_entry_label. I changed
      $tmp_ret = htmlspecialchars ( substr ( $tmpName, 0, $sum_length )
      . ( strlen ( $tmpName ) > $sum_length ? '...' : '' ) );
      by
      $tmp_ret = htmlspecialchars ( substr ( $tmpName, 0, $sum_length )
      . ( strlen ( $tmpName ) > $sum_length ? '...' : '' ),ENT_QUOTES,'ISO-8859-1' );

      based on http://php.net/manual/en/function.htmlspecialchars.php

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks