473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

pdf & utf8?

Hi!
Everything on my php&mysql site is with charset utf8, and now I've to
create pdf from the site...
Fpdf doesn't support utf8... I saw ufpdf but it seems a quite unstable and
with bugs.

Could someone tell me other way to create pdf from utf8?

Thansk.
Greetings from Sardinnia,
Sergej

PS: I can't install libraries or things like these on the provider where
is the site :-(

--
http://www.ildeposito.org
Canti di protesta politica e sociale
Archivio di testi e accordi
Aug 18 '06 #1
2 7946
*** Sergej escribió/wrote (Fri, 18 Aug 2006 17:13:13 GMT):
Could someone tell me other way to create pdf from utf8?
You can always convert to another charset:

http://www.php.net/iconv

--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Aug 18 '06 #2
Sergej schrieb:
Hi!
Everything on my php&mysql site is with charset utf8, and now I've to
create pdf from the site...
Fpdf doesn't support utf8... I saw ufpdf but it seems a quite unstable and
with bugs.

Could someone tell me other way to create pdf from utf8?

Thansk.
Greetings from Sardinnia,
Sergej

PS: I can't install libraries or things like these on the provider where
is the site :-(
I use TCPDF:
http://www.tecnick.com/public/code/c...aiocp_dp=tcpdf

It is PHP5; if you need PHP4 you can find instructions how to convert it
in the FPDF forums. I encountered that the PDFs created are not
compatible with Acrobat4; but did not find a solution for this yet; just
told my clients to get a new version of Acrobat Reader.

HTH
Markus
Aug 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Daniel Lidström | last post by:
Hi, I've been trying a long time now to generate some XML using MC++ and XmlSerializer. I have a piece of C# code that produces exactly what I want, but I simply can't get the MC++ code to write...
3
by: hunterb | last post by:
I have a file which has no BOM and contains mostly single byte chars. There are numerous double byte chars (Japanese) which appear throughout. I need to take the resulting Unicode and store it in a...
3
by: K Rege | last post by:
Hi there, I tried to implement a little XML-EchoServer using Sockets and XmlTextWriter/Reader. However the server hangs while reading the input from the client (wr.Flush() seams not to work). I...
15
by: Bart | last post by:
Hi, I receive an utf8 character from a database, like 田 (Japanese Character, style: &#XXXXX). How can I visualize the Japanese character on my application? I have found the class...
14
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as & to be valid. I don't have Firefox my self and don't wont to install it only...
3
by: astarocean | last post by:
i'm using maildrophost to sendmail and wrote a script for it when the script is called directly from web request , a letter geneated with right things but when the script is called from...
12
by: InvalidLastName | last post by:
We have been used XslTransform. .NET 1.1, for transform XML document, Dataset with xsl to HTML. Some of these html contents contain javascript and links. For example: // javascript if (a > b)...
2
by: Jan Danielsson | last post by:
Hello all, I'm writing a python script which fetches a HTML-page (using wget), and then parses the retrieved page using a custom htmllib HTMLParser. The page I fetch is encoded in utf8, and my...
2
by: koara | last post by:
Hello all, I needed to read contents of an UTF8 encoded file in C++ (gcc version 3.3.5 on Linux). I decided to do it the C++ way, using streams: ------------- std::locale...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.