Project

General

Profile

Defect #1708

UTF-8 problems TCPDF table

Added by Andrei Bintintan over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
12/30/2018
Due date:
% Done:

0%

Estimated time:

Description

With a simple initialization the Tcpdf table doesn't output properly utf8 characters.

Examples and samples attached.


Files

ex1.php ex1.php 740 Bytes Andrei Bintintan, 12/30/2018 09:50 PM
doc.pdf View doc.pdf 7.08 KB Andrei Bintintan, 12/30/2018 09:50 PM
Screenshot_244.png View Screenshot_244.png 16.5 KB Andrei Bintintan, 12/30/2018 09:50 PM
#1

Updated by Andrei Bintintan over 5 years ago

  • Tracker changed from Task to Defect
  • Subject changed from UTF-8 problems to UTF-8 problems TCPDF table
#2

Updated by Andrei Bintintan over 5 years ago

A temporary solution is to set the internal encoding after the table initialization:

$table = new Table( $pdf );
mb_internal_encoding( 'UTF-8' );

#3

Updated by Andrei Bintintan over 5 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF