ActionView :: Template :: Error(不兼容的字符编码:UTF-8和ASCII-8BIT):

时间:2014-03-16 00:50:32

标签: ruby-on-rails apache passenger

遇到ActionView问题,然后当我检查apache error.log时,它说:

App 7703 stdout:
App 7703 stdout: ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
App 7703 stdout:     23:     <div class="content">
App 7703 stdout:     24:     <div class="container-fluid">
App 7703 stdout:     25:
App 7703 stdout:     26:        <%= yield %>
App 7703 stdout:     27:
App 7703 stdout:     28:     </div>
App 7703 stdout:     29: </body>
App 7703 stdout:   app/views/layouts/application.html.erb:26:in `_app_views_layouts_application_html_erb__3122313295899581692_128215760'
App 7703 stdout:

1 个答案:

答案 0 :(得分:0)

Git Gui 中打开“ application.html.erb ”。所有不兼容的字符,你会立即赶上Æ