[Ironruby-core] IronRuby 0.6 and Rails

Ben Hall ben2004uk at googlemail.com
Tue Jul 14 13:56:25 EDT 2009


I'm trying to re-use the same demo I used on IronRuby 0.3 however on
0.6 I'm getting the following error:

IronRuby::Builtins::EncodingCompatibilityError in Posts#index

Showing app/views/posts/index.html.erb where line #12 raised:

incompatible character encodings: utf-8 (KCODE) and utf-8

The code does this:
<% @posts.each do |p| %>
    <td><%= p.Title %></td>
<% end %>

p is a Post C# object, Title is a string populated by a C# framework.

Please help!



More information about the Ironruby-core mailing list