On Thu, Oct 21, 2010 at 4:23 PM, Dani Dani <[email protected]> wrote:

> Klaus-dieter Gundermann wrote in post #956115:
> > Add the magic comment:
> >
> > # encoding: UTF-8
> >
> > to the top of your source file
>
> Thank you.
>
> What do you mean by "top of your source file" ?
>
> The error says that the source is
>
> The source of your template was:
> C:/Rails/app/views/pages/wir.html.erb, which has the following text:
>
>    # encoding: UTF-8
>    <h1>Wir</h1>
>    <p>
>       <%= image_tag("raum.jpg", :alt => "Studio Logo",
>           :class => "round") %>
>       <%= image_tag("willkommen.png", :alt => "Studio Logo",
>           :class => "round") %>
>       <% balance hei�t der neue Raum f�r ... %>
>
> So I did put '# encoding: UTF-8' at the top of that file (as you can see
> above. Still same issue.
>
> Any idea ?
>
> Dani
>


no the error is here

def show
>  @title = "Über uns"     <-- I had to modify to "Ueber uns"
> end
>



in the controller

put the comment on the first line of the controller, it should be the pages
controller

-- 
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.

Reply via email to