From d5c5f1816037817117ed759d1954bf17780122cb Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Fri, 20 Nov 2009 16:28:40 +0100 Subject: fix charset settings --- customize.rb | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'customize.rb') diff --git a/customize.rb b/customize.rb index d881965..a976452 100755 --- a/customize.rb +++ b/customize.rb @@ -40,10 +40,25 @@ $html << "

Customize Personal Settings

" $html << <

Charset

- + + + + + +CHARSET +[["Use special characters (#{UTFCHARS})","utf"], + ["Use normal strings","ascii"]].each{|description,href| + selected = href == (USEUTF ? "utf" : "ascii") + $html << "" + } +$html << < CHARSET -- cgit v1.2.3
Current SettingDescription
" + $html << "X" if selected + $html << "" + $html << "" unless selected + $html << description + $html << "" unless selected + $html << "