commit e2cb1fcfa2936f17a0c5bedda1574e4a2716f602
parent 693dc0241b115943711fcb5188336303e0f08032
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date: Fri, 7 May 2010 09:03:51 -0700
convert utf8 $encoding to UTF-8
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup.rb b/lib/sup.rb
@@ -293,6 +293,7 @@ include Redwood::LogsStuff
## determine encoding and character set
$encoding = Locale.current.charset
+ $encoding = "UTF-8" if $encoding == "utf8"
if $encoding
debug "using character set encoding #{$encoding.inspect}"
else