This project is archived and is in readonly mode.
Add magic encoding comment to generated files
-
Norman Clarke
You probably need to add an encoding comment to the top of the file. For example:
# encoding: utf-8 -
Norman Clarke
- Tag changed from rails3 to invalid, rails3
-
Ryan Bigg
- Tag changed from invalid, rails3 to 3.0
Please do not go around marking tickets as invalid without confirmation from the OP that it fixes the problem or someone verifies it clearly.
-
Jeremy Kemper
- State changed from new to invalid
Good case for marking invalid, actually :) This will be a common Ruby issue. You have to state your source encoding if you use non US-ASCII chars in your string literals, regexps, method names, etc.
-
M-Ryan
- Importance changed from to Low
I created a small tool to set magic comments on large number of source files quickly.
It's called magic_encoding, it's still very early in development but it's already functionnal (gem install magic_encoding)Source : http://github.com/m-ryan/magic_encoding)
-
Ryan Bigg
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.