Hallo Michael, geht beides. Wenn Du rdoc benutzt, dann noch besser:
# -*- encoding : utf-8 -*- Zitat: > Note that the magic comment format rules are pretty loose and all of > following examples would work the same: > > # encoding: UTF-8 > > # coding: UTF-8 > > # -*- coding: UTF-8 -*- > This is nice for support in some text editors that also read such comments. (http://blog.grayproductions.net/articles/ruby_19s_three_default_encodings) Niko. _______________________________________________ rubyonrails-ug mailing list rubyonrails-ug@headflash.com http://mailman.headflash.com/listinfo/rubyonrails-ug