I don't know arabic, and don't know what google translate does in the guts 
either, but to me "To Uransarab" is close to "Lawrence of Arabia".I think it's 
not a literal translation, but a phonetic aproximation. See: To Uransarab -> Lo 
Urans arab -> LoWrans Arab -> Lawrence Arab -> Lawrence [of] Arabia The end 
point is, I think the problem is not in iText, since you got the arabic 
printed, right? Regards,Alex from Argentina (no pun intended)

 Date: Fri, 27 Jul 2012 16:22:06 +0530
From: hsk.1...@gmail.com
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Problem with Setting Arabic characters with 
Arial Unicode MS Font type

I get an arabic output like لورانسالعرب

This is not "Lawrence of Arabia". Its some "To Uransarab". I do not know 
arabic. So i used Google Translate to check whats the actual Arabic 
Translation. And it said "To Uransarab".


Harsha

On Fri, Jul 27, 2012 at 4:10 PM, iText Info <i...@1t3xt.info> wrote:

Op 27/07/2012 12:32, Harsha Kaundinya schreef:

> The logic used to set the code to Arial Unicode MS is there below -

>

> str is an arabic string that comes from a database.



Replace str with "\u0644\u0648\u0631\u0627\u0646\u0633

\u0627\u0644\u0639\u0631\u0628".

What happens? If the text says "Lawrence of Arabia" in correct Arabic,

then it's not an iText problem. It's something you're doing wrong, for

instance: you're extracting the String from the database using the wrong

encoding.



------------------------------------------------------------------------------

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and

threat landscape has changed and how IT managers can respond. Discussions

will include endpoint security, mobile security and the latest in malware

threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________

iText-questions mailing list

iText-questions@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/itext-questions



iText(R) is a registered trademark of 1T3XT BVBA.

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/

Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php                                       
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to