Hallo yun! I am affraid, this is not the topic of iText.
Anyway, you should consult your Java API documentation for supported encodings. May be, there will be another encoding for your charset. If not, you can allways create and register your own character set. But don't ask me how (I haven't tried it yet). BTW, are you using full latest Java SDK? Some versions have not supported all charsets. Anyway you can look at String.availableCharsets() to see what charsets are supported in your JVM. You should also be sure about spelling (case sensitive!). GG -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of wang yun Sent: Wednesday, December 03, 2003 12:03 AM To: [EMAIL PROTECTED] Subject: [iText-questions] pdf417_barcode.java Dear Support, I am using VJ+ 6.0 to run pdf417_barcode.java But, I have problem for the coding. For Microsoft, is there other coding name to replace cp347? Thanks, yun ///////////////////////////////////// // Code in the pdf417_barcode this.text = s.getBytes("Cp437"); ////////////////////////////////////////// //Error message C:\wanyun\Learning\iText126\VJ>Project2.exe 2 2 java.io.UnsupportedEncodingException: Cp437 [Could not load class: sun.io.CharTo ByteCp437] at sun/io/CharToByteConverter.getConverter (CharToByteConverter.java) at java/lang/String.getBytes (String.java) at com/lowagie/text/pdf/BarcodePDF417.setText (BarcodePDF417.java:915) at Class1.main (Class1.java:21) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions