Fix reading UTF-8 values
authorRicardo Mones <ricardo@mones.org>
Tue, 18 Mar 2014 21:55:09 +0000 (22:55 +0100)
committerRicardo Mones <ricardo@mones.org>
Tue, 18 Mar 2014 21:55:09 +0000 (22:55 +0100)
clawsker

index f15340f..2568931 100755 (executable)
--- a/clawsker
+++ b/clawsker
@@ -1967,7 +1967,7 @@ sub load_preferences() {
     while (<RCF>) {
         chomp;
         if (/^([8a-z_]+)=(.*)$/) {
-            $PREFS{$1} = "$2";
+            $PREFS{$1} = decode('UTF-8', $2);
         }
     }
     close (RCF);