Enthropia Labs

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new iBegin Labs forum!

Author Topic: PDF - error in the character encoding  (Read 136 times)

adelio.fioritto

  • Newbie
  • *
  • Posts: 1
    • View Profile
PDF - error in the character encoding
« on: October 10, 2009, 03:12:27 am »
Hi, firstly I have to give u thanks for the really good job u made, it's great.
I would ask if it's only a my problem, but in the pdf character encoding i see there are several errors, i suppose u used fpdf, so could be a "zone" setting problem or something else.
If u see my page: http://www.rionero24ore.com/
all the characters, that are "special" like ' à é , are not processed, or better are processed in wrong way.
Any ideas?
Thank u

Ade
Logged

Fabien

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: PDF - error in the character encoding
« Reply #1 on: November 06, 2009, 09:27:04 am »
Hi,
I found this solution :
In the file html2fpdf.php in
c:\pathtoyousite\...\wp-content\plugins\ibegin_share\share\share\plugins\mypc\html2fpdf
i added this near line 340 in function WriteHTML
function WriteHTML($html)
{
//! @desc HTML parser
//! @return void
/* $e == content */

  $this->ReadMetaTags($html);
  $html=  iconv("UTF-8", "ISO-8859-1//TRANSLIT",$html);// Permet de décoder les caractéres accentués et les '


By
Logged