Php, Pdf, Utf-8

  • Thread starter Omid
  • Start date
  • #1
182
0

Main Question or Discussion Point

I need to generate PDF files in Persian. My codes are in PHP and the server is runnig ver 4.3. The PDFLIB appearently doesn't support UNICODE. When I write something in Persian it shows only some nonsence charachters on screen. I also downloaded UFPDF, after using that class the charachters were shown correctly but still I have 2 problems:
1. In persian in contrast to english the charachters are sticked togheter but the PDF, shows them seprated.
2. The order in the PDF is left to right while it must become right to left.

Do you know any other classes which support UTF-8?
Or any advice to solve the 2 problems?
Thanks
 

Answers and Replies

  • #2
dduardo
Staff Emeritus
1,890
3
Always check the documenation. Do a search on the page for UTF-8

http://php.mirrors.ilisys.com.au/manual/en/function.pdf-findfont.php [Broken]
 
Last edited by a moderator:
  • #3
182
0
I did, but not as well as you :D
You know, all the php guys in Iran (www.Iranphp.net[/URL]) are killing themselves to solve the problem then I didn't think taking a look at the documatation would be useful.
Anyway, I'm going to check it now.
Thank you.
 
Last edited by a moderator:

Related Threads on Php, Pdf, Utf-8

  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
9
Views
2K
  • Last Post
Replies
2
Views
7K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
4
Views
2K
Top