iText for encoding

Hi Devs,

iText.jar, this is a package which is being used to create PDF file. Is there anyone know how to use it to embedded the encoding such Unicode (UTF-8) when writing the file? If having, I would like to you share with me the example about this issue.

Needed your help/supporting/experiences in this.

Thanks all so much.

···


Hieu.HISPVietnam
Good Health !

Hi Hieu,

I’ve not used iText with UTF-8 yet. However, used to use JasperReport which has iText inside.

In JasperReport, you must copy the UTF-8 font files (TTF file) to project classpath, then specify the specific path to those fonts on JasperReport file (jrmxl).

Should have something like that with iText. Google it :slight_smile:

Cheers,
Quang

···

On Fri, May 14, 2010 at 10:40 AM, Hieu Dang Duy hieu.hispvietnam@gmail.com wrote:

Hi Devs,

iText.jar, this is a package which is being used to create PDF file. Is there anyone know how to use it to embedded the encoding such Unicode (UTF-8) when writing the file? If having, I would like to you share with me the example about this issue.

Needed your help/supporting/experiences in this.

Thanks all so much.


Hieu.HISPVietnam
Good Health !


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Quang,

Is this solution good for Vietnamese also? jrmxl file is an instance of xml file? Can u share me one of them?

Thanks

···

On Fri, May 14, 2010 at 10:51 AM, Quang Nguyen quangnguyen111@gmail.com wrote:

Hi Hieu,

I’ve not used iText with UTF-8 yet. However, used to use JasperReport which has iText inside.

In JasperReport, you must copy the UTF-8 font files (TTF file) to project classpath, then specify the specific path to those fonts on JasperReport file (jrmxl).

Should have something like that with iText. Google it :slight_smile:

Cheers,
Quang

On Fri, May 14, 2010 at 10:40 AM, Hieu Dang Duy hieu.hispvietnam@gmail.com wrote:

Hi Devs,

iText.jar, this is a package which is being used to create PDF file. Is there anyone know how to use it to embedded the encoding such Unicode (UTF-8) when writing the file? If having, I would like to you share with me the example about this issue.

Needed your help/supporting/experiences in this.

Thanks all so much.


Hieu.HISPVietnam
Good Health !


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Hieu.HISPVietnam
Good Health !