Forum: Ruby on Rails export to pdf, txt and the utf8-problem.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
85ba58eed034056754d3760749897ab9?d=identicon&s=25 Rudy (Guest)
on 2009-03-23 11:40
(Received via mailing list)
Hi,
can't seem to figure it out. I have text saved as UTF8 in my MySQL
database, and it shows up fine in the browser. However, I want to
export to pdf (pdf;writer) and csv-text. When I do that the accented
foreign characters do not show up.

I've tried to convert them before exporting, but I don't seem to be
able to get it right. (Iconv etc. do not seem to convert it.) I've
also looked it up on the forum, but I can't find the right solution.
Any suggestion is greatly appreciated.
Rudy
This topic is locked and can not be replied to.