On Thu, Feb 3, 2011 at 6:29 PM, Paul Bergstrom <[email protected]> wrote:
> Where do I set > > Encoding.default_external = 'UTF-8' > > in Rails 2.3.8? > > Can I add it to the environment.rb? Where? > This is probably entirely wrong for what you want, but today I had a little adventure with a certain non-ascii character and I found I could set the encoding at the class level using the following comment at the top of the file: # encoding: UTF-8 > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

