diff --git a/root/editor.css b/root/editor.css index e109d96..7651e4d 100644 --- a/root/editor.css +++ b/root/editor.css @@ -8,7 +8,7 @@ textarea {height:300px; width:500px; margin-bottom: 20px;} -di#result{ +div#result{ background-color: black; color: white; height: 300px; diff --git a/root/editor.rb b/root/editor.rb index bcfa10c..3fde2ce 100755 --- a/root/editor.rb +++ b/root/editor.rb @@ -9,7 +9,7 @@ #ENV['RUBYOPT']="-Ku" -c = CGI.new(:accept_charset => "ascii-8bit") +c = CGI.new(:accept_charset => "UTF-8") p = " i = 1 diff --git a/root/textcode.rb b/root/textcode.rb index 823f950..3ea66ca 100755 --- a/root/textcode.rb +++ b/root/textcode.rb @@ -56,8 +56,8 @@ puts("
%s\n", CGI.escapeHTML(o)) puts("