Re: [iText-questions] Russian as TextBox value

2005-05-30 Thread Leonid Kleiner
Which font do you use in TextBox field? I got squares in text box. - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Leonid Kleiner" <[EMAIL PROTECTED]>; Sent: Monday, May 30, 2005 11:30 AM Subject: RE: [iText-questions] Russian as TextB

Re: [iText-questions] Russian as TextBox value

2005-05-30 Thread Leonid Kleiner
ng s = "\u0414\u0416"; byte b[] = s.getBytes("Cp1251"); s = new String(b, "Cp1252"); form.setField("ruvalue", s); stamp.close(); - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To

[iText-questions] Russian as TextBox value

2005-05-29 Thread Leonid Kleiner
Hello   Can I insert text in encoding other than Latin (e.g Russian) into pdf TextBox using iText? I suppose that font of TextBox should match the encoding. Example :  String s = "some russian text"; byte b[] = s.getBytes("Cp1251"); String latin = new String(b, "Cp1252"); doesn't work.   T

[iText-questions] Russian as TextBox value

2005-05-29 Thread Leonid Kleiner
Hello   Can I insert text in encoding other than Latin (e.g Russian) into pdf TextBox using iText? I suppose that font of TextBox should match the encoding. Example :  String s = "some russian text"; byte b[] = s.getBytes("Cp1251"); String latin = new String(b, "Cp1252"); doesn't work.