编程作业的字符集问题
This commit is contained in:
parent
8f8fc6200c
commit
1dcaef2ce7
|
@ -52,7 +52,7 @@
|
|||
</div>
|
||||
<% if test.status.to_i == -2 %>
|
||||
<div class="ProResultCon ">
|
||||
<%= test.results.first %>
|
||||
<%= test.results.first.to_s.force_encoding("UTF-8") %>
|
||||
</div>
|
||||
<% else %>
|
||||
<div class="ProResultTable">
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
<div class="cl"></div>
|
||||
</div>
|
||||
<% if test.status.to_i == -2 %>
|
||||
<div class="ProResultCon"><pre><%= test.results.first %></pre></div>
|
||||
<div class="ProResultCon"><pre><%= test.results.first.to_s.force_encoding("UTF-8") %></pre></div>
|
||||
<% else %>
|
||||
<div class="ProResultTable " >
|
||||
<ul class="ProResultUl " >
|
||||
|
|
Loading…
Reference in New Issue