This project is archived and is in readonly mode.

#4807 ✓committed
Erik Dahlstrand

Add magic encoding comment to generated files

Reported by Erik Dahlstrand | June 9th, 2010 @ 10:29 AM | in 3.0.2

An exception is thrown when posting non English text (å, ä, o etc.) in a form.

ruby -v
ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.3.0]
rails -v
Rails 3.0.0.beta4
rails new r3_test && cd r3_test
rails g scaffold post title:string && rake db:migrate && rails s

Visit http://0.0.0.0:3000/posts/new
Title: This will fail åäö
Create Post

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages