Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
- <td><p><%= row.notes.to_s.encode('UTF-8', {:invalid => :replace, :undef => :replace, :replace => '?'}).gsub("n", "<br>").html_safe %></p></td>
- </tr>
- <% end %>
- </tbody>
- </table>
- </div>
- <div id="eventDetailModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="eventDetail" aria-
- # encoding: utf-8
- <% # encoding: utf-8 %>
- <% content_for :head do -%>
- # Configure the default encoding used in templates for Ruby 1.9.
- config.encoding = "utf-8"
Add Comment
Please, Sign In to add comment