From 69373468ae13b614391a0f1b30245de604169c62 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 29 Mar 2016 18:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E5=93=81=E8=AF=A6=E6=83=85=E6=89=93?= =?UTF-8?q?=E4=B8=8D=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_programing_work_show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/student_work/_programing_work_show.html.erb b/app/views/student_work/_programing_work_show.html.erb index cf5866bc6..997d28f6d 100644 --- a/app/views/student_work/_programing_work_show.html.erb +++ b/app/views/student_work/_programing_work_show.html.erb @@ -65,7 +65,7 @@ 测试错误! <% end %> 您的输出: -
<%=x["result"]%> 
+
<%=x["result"].force_encoding("UTF-8")%> 
正确输出:
<%=x["output"]%>