Solved

converting unicode text to pdf using php

Posted on 2007-03-24
6
1,964 Views
Last Modified: 2008-03-25
I want to convert a HTML page into PDF document, the HTML page data is in Uni-COde, is there any php Class to do this ? I have found some class in phpclasses.org but they all work with only English text.

I am using php 4.x and i can not upgrade to php 5
0
Comment
Question by:Claudia_Presto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 18787734
You might look into ufpdf (http://acko.net/blog/ufpdf) a extension to the commonly used fpdf (fpdf.org)
0
 

Author Comment

by:Claudia_Presto
ID: 18791555
this does not work in some UTF-8 languages, I'm asking this for Persian. Letters in this language are in 2 type of connected (attached) and alone, like arabic,
characters are like this : ا ب پ ت س ش ل و د
but they make words that the letters are connected : احسان  =  Ø§ Ø­ س ا Ù†
anyway, letters has 2-3 formats in words.
0
 

Author Comment

by:Claudia_Presto
ID: 18791565
please view my reply in unicode encoding format, browser view --> unicode (utf-8)
0
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 18792209
You can try http://tcpdf.sourceforge.net which is a improvemtn to fpdf with unicode-support, but never tested it with persian. Should have the same interface as ufpdf.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21207261
Forced accept.

Computer101
EE Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question