This project is archived and is in readonly mode.

#2848 ✓resolved
Akira Matsuda

Allow Vim style encoding comment in ERB template

Reported by Akira Matsuda | June 29th, 2009 @ 07:44 AM | in 2.x

Though GH:94911c is a very very nice Ruby 1.9 & ERB hack, it ignores the Vim style encoding comment.

# vim:set fileencoding=utf-8:

Attached a patch to fix the regex to recognize this type of encoding comment.

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=""></a>