From: Jeremy Bopp Date: 2012-09-05T05:44:04+09:00 Subject: Re: How to get unicode support in ruby On 09/04/2012 03:28 PM, Panagiotis Atmatzidis wrote: > Hello, > > I see that shebang: > #!/usr/bin/env ruby > > doesn't work if not on the first line. Same goes for UTF-8: > > # encoding: utf-8 > > needs to be the first one to get accepted. This is incorrect. If the first line of the file is a shebang line, the encoding line may follow it on the second line. > Is there a way to combine both? To avoid having program.rb ? I like more 'program' + shebang. Yes, put the shebang line first and follow it with the encoding line. :-) -Jeremy