You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2006-07-24 17:16:37

valhalla
Member
Registered: 2006-07-21
Posts: 3

Convert to PDF or SLK - no russian words

Can you make russian support for converting? I see only "?????????".

Offline

#2 2006-07-24 19:24:40

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Convert to PDF or SLK - no russian words

To do it we need a PHP library which could manage the UTF8 but we do not find it.
So it will be really difficult for us.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2006-09-09 09:21:42

Igzter
Member
Registered: 2006-09-09
Posts: 14

Re: Convert to PDF or SLK - no russian words

MoYo wrote:

To do it we need a PHP library which could manage the UTF8 but we do not find it.
So it will be really difficult for us.

http://sourceforge.net/projects/phputf8

Is this anything like the library you are looking for? Joomla is using this library for it's UTF handling.

Thomas Uhrfelt

Offline

#4 2006-09-09 14:15:19

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Convert to PDF or SLK - no russian words

It is not the real problem.
GLPI already used UTF8. The problem is to have a pdf library which is compatible with UTF8.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2006-09-09 14:19:19

Igzter
Member
Registered: 2006-09-09
Posts: 14

Re: Convert to PDF or SLK - no russian words

MoYo wrote:

It is not the real problem.
GLPI already used UTF8. The problem is to have a pdf library which is compatible with UTF8.

Okey, now I understand - I'll keep my eyes open for a PDF library that handles UTF8 then wink

Thanks for a great project.

Update:

Seems like I found one:

http://www.tecnick.com/public/code/cp_d … p_dp=tcpdf

TCPDF

TCPDF is an Open Source PHP class for generating PDF files on-the-fly without requiring external extensions.
TCPDF is an extension and improvement of the FPDF class by Olivier Plathey (http://www.fpdf.org).

Main Features:

    * supports all ISO page formats;
    * supports UTF-8 Unicode;
    * includes methods to publish some xhtml code, supporting the following elements: h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, small;
    * includes a method to print various barcode formats using an improved version of "Generic Barcode Render Class" by Karim Mribti (http://www.mribti.com/barcode/) (require GD library: http://www.boutell.com/gd/)
    * supports TrueTypeUnicode, TrueType, Type1 and encoding;


etc.etc.

Thomas

Last edited by Igzter (2006-09-09 14:26:59)

Offline

#6 2006-09-09 14:30:55

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Convert to PDF or SLK - no russian words

hummm interesting. We will try this library. I put it in the trac.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#7 2006-09-09 14:39:52

Igzter
Member
Registered: 2006-09-09
Posts: 14

Re: Convert to PDF or SLK - no russian words

Glad to be of assistance!

Best regards,

Thomas Uhrfelt

Offline

Board footer

Powered by FluxBB