Hi, Anyone knows how to setup a web application that needs to store spanish accents (such as á, é, or í) in the ActiveRecord models.
When I use the Heroku Console and I try to insert a string with Spanish characters in the model, I always get the following error: "ActiveRecord :: StatementInvalid: PGError: invalid byte of sequence for encoding "UTF8" : 0x82". For example, let's suppose that I want to store the title of a book in the model called "book". From the Heroku Console, I type the following: > b = Book.new > b.title = "Configuración" ( # title is the field for the title of a book. > Note that the title has a spanish accent) > b.save >> I GET THE ERROR! "ActiveRecord :: StatementInvalid: PGError: invalid byte >> of sequence for encoding "UTF8" : 0x82". I would really appreciate any hint to solve this problem. Many many thanks, Sergio -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.