On 27 March 2010 17:50, solo hsi <xzyyyy@xxxxxxxxx> wrote: > now i'm re-writing some script to output pdf files. the original code > is based on fpdf, but as you know, fpdf can't deal with the characters > in utf8. >From http://www.fpdf.org/?lang=en "What languages can I use? The class can produce documents in many languages other than the Western European ones: Central European, Cyrillic, Greek, Baltic and Thai, provided you own TrueType or Type1 fonts with the desired character set. Chinese, Japanese and Korean are supported too." So, if you have the font for it, you should be able to encode the data easily enough. No matter what encoding you are using, unless the font you want to use has a glyph for it, you can't use it. This is more often the problem I've found. Regards, Richard. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php