Project

General

Profile

character encoding utf-8

Added by Alonso Uribe almost 11 years ago

I can enable the encoding as utf-8?, in the data shown rare signs.

I'm using Fpdf Table Utf8 (Advanced),
thanks.


Replies (3)

RE: character encoding utf-8 - Added by Andrei Bintintan almost 11 years ago

If you have the utf8 addon then utf8 is supported out of the box.

If not working correctly, make sure that font initialization is done correctly and your data is properly encoded.

RE: character encoding utf-8 - Added by Alonso Uribe almost 11 years ago

can you help me with an example?

I'm using font arial:

$this->SetFont('Arial', 'B', 13);

RE: character encoding utf-8 - Added by Andrei Bintintan almost 11 years ago

Make sure you include Arial.tff correctly.
If you use Windows you'll find the font file in c:/windows/fonts directory.

How to include font files you'll find in the documentation or examples.

I cannot provide example just next week. I have only my mobile this week.

    (1-3/3)