Guest User

Untitled

a guest
Jul 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
  2. <td><p><%= row.notes.to_s.encode('UTF-8', {:invalid => :replace, :undef => :replace, :replace => '?'}).gsub("n", "<br>").html_safe %></p></td>
  3. </tr>
  4. <% end %>
  5. </tbody>
  6. </table>
  7. </div>
  8. <div id="eventDetailModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="eventDetail" aria-
  9.  
  10. # encoding: utf-8
  11.  
  12. <% # encoding: utf-8 %>
  13. <% content_for :head do -%>
  14.  
  15. # Configure the default encoding used in templates for Ruby 1.9.
  16. config.encoding = "utf-8"
Add Comment
Please, Sign In to add comment