Arabic character goes to ????????

When Encoding a string to utf-8 and convert to that string to PDf using itextsharp arabic letters goes to ????? Whats the reason for this.I tested by giving the response.Charset to utf-8 and other  windows - 1256 etc..... but it didnt works... can anyone know why its not working?????
LVL 6
Rajesh_mjAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

StealthyDevCommented:
May be your PDF reader does not support that Arabic Char ???
0
numberkruncherCommented:
When your document is converted into PDF format, perhaps the font that is used by the PDF file does not have the Arabic characters. So instead of showing nothing a default '?' character is used in place.

How are you converting to PDF? Is there an option to embed your font? I use "PDF995" and "Acrobat Distiller" and both of those have an option to embed the font.
0
Rajesh_mjAuthor Commented:
Hi,

I am converting the bytes to PDF using the Itextsharp.dll.When i using the uncoding(UTF-*,Windows-1256,Ascii,UTF) the arabic letters goes to ????.But when i use the pdf buffer from the itextsharp all are going fine.The embedded font is helvetica.... Whats the difference between them and what happend when i encoding to UTF-8.......
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Amandeep Singh BhullarCommented:
0
numberkruncherCommented:
Have you tried entering the same text in a word processor like "Word Pad" using that font? If you run into the same problem then perhaps you should try the Unicode Arial Font as in my experience this seems to contain a lot of foreign characters.
0
Rajesh_mjAuthor Commented:
Hi,

In the wordpad it was working fine,i already installed the corresponding fotn.Ther is no problem.The problem comes only in pdf document.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.