<%= link_to '注销', :controller => :user, :action => :logout %>
this raises Encoding::Compatibility exception, and when i try
<%= link_to '注销'.force_encoding('utf-8'), :controller => :user, :action => :logout %>
this didn't help, either. but this works
<a href="<%= url_for :controller => :user, :action => :logout>">注销</a>
why ??? i just can't figure out WHY this happends and HOW to fix it. any ideas?? thanks!!! ruby version 1.9, rails 2.3.5