【问题标题】:ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):ActionView::Template::Error(不兼容的字符编码:UTF-8 和 ASCII-8BIT):
【发布时间】:2014-03-16 00:50:31
【问题描述】:

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:

【问题讨论】:

    标签: ruby-on-rails apache passenger


    【解决方案1】:

    Git Gui 中打开“application.html.erb”。您将立即捕获所有不兼容的字符Æ

    【讨论】:

      猜你喜欢
      • 2011-07-10
      • 1970-01-01
      • 2016-04-14
      • 1970-01-01
      • 2016-02-12
      • 2011-07-14
      • 1970-01-01
      • 2011-10-17
      • 2011-05-26
      相关资源
      最近更新 更多