German letter ä, ö, ü in rfpdf

Hi all, anyone found any solution for German letter ä, ö, ü in rf pdf i'm facing same problem and i must have tto use PDF::Writer on linux.

Regards,

Salil

Salil Gaikwad wrote:

Hi all, anyone found any solution for German letter ä, ö, ü in rf pdf i'm facing same problem and i must have tto use PDF::Writer on linux.

Regards,

Salil

Hi Salil,

I made use of the prawn plugin mentioned above. It is very easy and powerful.

Cheers

Hi Salil,

I made use of the prawn plugin mentioned above. It is very easy and powerful.

Cheers

Hi Adam, Thanx. I try following code and it works fine for me.I test it only on linux though.

enc = Iconv.new('Windows-1252', 'UTF-8')

pdf.select_font("Helvetica")

@data=enc.iconv("Persönlicher LS Vorhunden")

table.data = [     {"name" => @data, "race" => " "}     ]

then it display "Persönlicher LS Vorhunden" correctly.

Regards,

Salil

You might wanna change "Vorhunden" to "vorhanden" to make it German.

MaD wrote:

You might wanna change "Vorhunden" to "vorhanden" to make it German.

thanx. but I check it with google language tools and it translate correctly. neways that's not an issue i just wanna print special characters like ä, ö, ü in rfpdfand fortunatelly for me it works.

Regards,

Salil