Project

General

Profile

Defect #1708

UTF-8 problems TCPDF table

Added by Andrei Bintintan 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
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.

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
988

History

#1 Updated by Andrei Bintintan 10 months ago

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

#2 Updated by Andrei Bintintan 10 months 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 9 months ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF