san kar wrote:
> Hi,
>
>i want to create a pdf document with UTF-8 Char, Got the value from
> mysql database.
Actually I think you're wrong. I think you don't have
any UTF-8 character in the String convValue.
You say you retrieve the String like this:
> String convValue = resultSet.getStrin
Hi,
i want to create a pdf document with UTF-8 Char, Got the value from mysql
database.
After creating the document, "?" char displayed for the UTF-8 char.
English char are come properly
My code like this..
String convValue = resultSet.getString(ch.getName());
BaseFont bf =
BaseFont.create
is_maximum wrote:
> I am using both Arabic and English characters, but Arabic characters are
> seperated and not connected to each others
That's all explained in the book.
You'll also find some examples online that make the Arabic ligatures.
Please take a closer look at the page that refers to the
Hello
Thank you so much for your reply. somewhat, I managed to solve the problem
I changed the part in which font is creating to this:
BaseFont baseFont =
BaseFont.createFont("c:\\WINDOWS\\fonts\\times.ttf", BaseFont.IDENTITY_H,
true);
Font font = new Font(baseFont);
and now,
07 6:16 AM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Problem with UTF-8 String and PDF
>
>
> no, the result is right and I can display them in a web page
> properly.
> and I want to say that the resultSet is not the same
> java.sql.ResultSe
PROTECTED]>
> To:
> Sent: Sunday, April 08, 2007 2:15 PM
> Subject: [iText-questions] Problem with UTF-8 String and PDF
>
>
>>
>> Hi all
>>
>> I want to create pdf document and my strings encoding are in UTF-8 but
>> after
>> creating document,
ginal Message -
From: "is_maximum" <[EMAIL PROTECTED]>
To:
Sent: Sunday, April 08, 2007 2:15 PM
Subject: [iText-questions] Problem with UTF-8 String and PDF
>
> Hi all
>
> I want to create pdf document and my strings encoding are in UTF-8 but
> after
> creati
Hi all
I want to create pdf document and my strings encoding are in UTF-8 but after
creating document, the letters are weird.
Do iText suport utf-8 encoding?
my snippet code is like this:
Font myfont = FontFactory.getFont("Tahoma", 8, Font.BOLD,Color.BLACK);
PdfPCell cell = new PdfPCell(new Pa