473,324 Members | 2,548 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,324 software developers and data experts.

PHP Pdf Creation - UTF-8 Support

Jay
Hello,

I'm using the PHP Pdf Creation developed by R&OS Ltd (http://
www.ros.co.nz/pdf). Does anyone know of a way to set the default
encoding to UTF-8? As of now it's set to ANSI which is a western
encoder and does not support languages like Russian, Arabic, Chinese,
etc. Any help would be much appreciated, thanks.

Jul 12 '07 #1
2 6974
Jay schrieb:
Hello,

I'm using the PHP Pdf Creation developed by R&OS Ltd (http://
www.ros.co.nz/pdf). Does anyone know of a way to set the default
encoding to UTF-8? As of now it's set to ANSI which is a western
encoder and does not support languages like Russian, Arabic, Chinese,
etc. Any help would be much appreciated, thanks.
Looking at the FAQ, it does not look like this class supports UTF-8 (I
have not tested it, anyway). If you do not get better advice about it,
you might want to look at TCPDF:
http://sourceforge.net/projects/tcpdf/

I use it with UTF-8; I am not sure about it's capabilities with RTL
languages (Hebrew, Arabic) or Chinese; Anyway I did not have any
problems with all kinds of Western and Eastern European characters so far.

Markus
Jul 12 '07 #2
Jay
Thanks Markus,

Now I already have my entire system setup using the PHP Pdf Creation
tool so I need to be absolutely sure that RTL languages are not
supported before I switch over to the TCPDF. Also, if I had to
switch, how hard would it be? Would I need to re-write the entire
code for the design layout? Or would TCPDF be able to use the code I
already have? Thanks for help.

Jay

On Jul 12, 12:42 pm, Markus <derernst@NO#SP#AMgmx.chwrote:
>
Looking at the FAQ, it does not look like this class supports UTF-8 (I
have not tested it, anyway). If you do not get better advice about it,
you might want to look at TCPDF:http://sourceforge.net/projects/tcpdf/

I use it with UTF-8; I am not sure about it's capabilities with RTL
languages (Hebrew, Arabic) or Chinese; Anyway I did not have any
problems with all kinds of Western and Eastern European characters so far.

Markus

Jul 13 '07 #3

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

Similar topics

12
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python # -*- coding: UTF-8 -*- should I - or should I...
5
by: Tompa | last post by:
Hi, I would like to create images on the fly as a response to an http request. I can do this with PIL like this (file create_gif.py): from PIL import Image, ImageDraw print 'Status: 200 OK'...
5
by: Tappy Tibbons | last post by:
I have a class I am serializing, and need the resultant XML to skip/omit classes that are not initialized, or their member variables have not been set. Is this possible? Say for the following...
1
by: sam.collett | last post by:
Is there a basic guide on Xml document creation and editing (simpler than the MSDN docs). Say I want to create a file containing the following: <?xml version="1.0" encoding="utf-8"...
2
by: seash | last post by:
H My application consists of three layers, presentaion layer(PL), Business Logic layer(BLL) and Data Access layer(DAL) my application is a single windows form application now BLL consits of...
8
by: Sam Collett | last post by:
Is there a basic guide on Xml document creation and editing (simpler than the MSDN docs). Say I want to create a file containing the following: <?xml version="1.0" encoding="utf-8"...
1
by: Brad | last post by:
I have a confusing problem and I think it acutally might be an IDE problem. I am using Visual Studio 2005 Standard. When I right click on my project and add an item I select Dataset. It used to...
3
by: Nick Dreyer | last post by:
I was quite surprised to notice that Sub New() gets called twice, once at declaration time and once at creation time. I can't figure out why it would be called at declaration if there is no class...
2
by: Pierre | last post by:
Hello, In VS2003, for an ASP.NET web project in VB, I would like to create the documentation from the inline xml comment like : ''' <summary> ''' comment sample ''' </summary> public sub...
0
by: Ralfeus | last post by:
Hi all I'm too newbie in web services so I can't figure out what the error I made. I have a SOAP server written in PHP: <?php // Define the method as a PHP function function hello($name) {...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.