FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » PDF Generation with Special characters
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
PDF Generation with Special characters [message #167332] Fri, 08 June 2012 15:36 Go to previous message
alopezie is currently offline  alopezie   Germany
Messages: 106
Registered: September 2003
Karma:
Senior Member
Creating a PDF does scrambles the German special letters ÄÖÜäöü (Umlaute) etc, as the UTF code is not given to the PDF generator

Solution (taken from http://www.faqboard.info/printthread.php?tid=1899&page=2) :

include/fpdf.php, look for function Cell
Add AFTER

Zitat:

if($txt!=='')
{


$txt = iconv('utf8', 'cp1252', $txt);

I tried this and it worked.

Other sources said replacing FPDF with http://www.tcpdf.org/ should work as well.


Alopezie.de - das Forum zum Thema Haarausfall

[Updated on: Fri, 08 June 2012 15:37]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3.0.4RC2 scripts/forum_login.php __ses_make_sysid() broken
Next Topic: Sort Private Messages by Name
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 05:31:15 GMT 2024

Total time taken to generate the page: 0.03885 seconds