my database had charset latin1, i changed that all to utf8
cuz i had info like
Ã©tage => Ã?Â©tage
and i have changed that to utf8, then when i edit through the site a
and enter Ã©tage, “Ã©tage” will be in the database.
Now my problem is that when i create a pdf, Ã©tage is displayed like
even when i put this in the code
send_data pdf.render, :filename =>“test.pdf”, :type =>
can anyone help me?