You can't have UTF-8 in property files. The encoding is ISO-8859-1 and for
characters outside the range the notation \uxxxx is used just like in the
java source files.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Mark Goking" <[EMAIL PROTECTED]>
To: "Bruno" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 17:45
Subject: [iText-questions] Xml concern


>
> My ResourceBundle class uses a UTF-8 saved property file to retrieve
> the values and write them to the xml file also saved as utf-8
>
> This is my line code to create the xml file
>
> write = new PrintWriter(new OutputStreamWriter(new
> FileOutputStream(xmlFile), "UTF-8"));
>
>
> Now, when I checked the generated xml file, it seems that some
> characters have become garbled and not seen as the supposed unicode
> symbol representation
>
> Do you think I should use another class to write a utf-8 saved xml
> file before converting it to pdf? Could you please give an example?
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to