Title: RE: Re[4]: [iText-questions] (no subject)

There's no problem with it other than treating the font as Cp1251. In java everything is Unicode but you're using latin characters that translate to russian characters by the font special character positions. If you want it to work as-is (not recommended) do:

String s = "some russian text";

byte b[] = s.getBytes("Cp1251");

String latin = new String(b, "Cp1252");

form.setField("ruvalue", latin);

Best Regards,

Paulo Soares

    -----Original Message-----

    From:   Algirdas M. [SMTP:[EMAIL PROTECTED]

    Sent:   Tuesday, December 16, 2003 17:31

    To:     Paulo Soares

    Subject:        Re[4]: [iText-questions] (no subject)

    Hello,

    Tuesday, December 16, 2003, 10:21:40 AM, you wrote:

    PS> If you can, send me privately the pdf.

    TextBox name - "ruvalue"

    i attached the pdf and demo class file.


    Thanks!

    --

    Best regards,

     Algirdas                            mailto:[EMAIL PROTECTED] << File: demo_ru.pdf >>  << File: PdfManageInterface.java >>

Reply via email to