This project is archived and is in readonly mode.
Add magic encoding comment to generated files
Reported by Manfred Stienstra | May 29th, 2009 @ 08:53 AM | in 3.0.2
I thought it might be a good idea to prepend all generated templates with the magic encoding comment to make people aware of this feature.
References: http://github.com/rails/rails/commit/5ec2c7dc29b36d85b2658465b8a979...
Comments and changes to this ticket
-
Jeremy Kemper June 3rd, 2009 @ 11:02 PM
Clever solution :) I think setting Encoding.default_external is enough for typical apps though. Adding the magic comment to every template feels noisy.
-
Manfred Stienstra June 4th, 2009 @ 07:17 AM
- State changed from new to resolved
Yeah, I guess you're right.
-
Ryan Bigg October 9th, 2010 @ 10:13 PM
- Importance changed from to Low
Automatic cleanup of spam.
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>