Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Add magic encoding comment to generated files

#2736

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...

Reported by Manfred Stienstra · May 29th, 2009 @ 08:53 AM

State: resolved
Milestone: 3.0.2
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: Low

Activity

  1. Jeremy Kemper
    Jeremy Kemper

    Clever solution :) I think setting Encoding.default_external is enough for typical apps though. Adding the magic comment to every template feels noisy.

    June 3rd, 2009 @ 11:02 PM

  2. Manfred Stienstra
    Manfred Stienstra
    • State changed from new to resolved

    Yeah, I guess you're right.

    June 4th, 2009 @ 07:17 AM

  3. Ryan Bigg
    Ryan Bigg
    • Importance changed from to Low

    Automatic cleanup of spam.

    October 9th, 2010 @ 10:13 PM

  4. Jeremy Kemper
  5. Ryan Bigg
    Ryan Bigg

    Automatic cleanup of spam.

    October 21st, 2010 @ 03:40 AM

  6. Jeff Kreeftmeijer
  7. Jeff Kreeftmeijer
  8. bingbing
  9. links london