TextMate tidbit: insert encoding in ruby files
Jun 13, 2009
Want to insert an encoding comment into your ruby code?
Do it TextMate style and create a snippet:
I know this is very static but I had not much time and decided for the simplest solution. I tried to read the actual encoding of the file you are inserting in, but always got "US-ASCII" insted of "UTF-8". So if you know better tweet me.