Handle zur LXDebug-Logdatei auch UTF-8 encoden
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 3 Jul 2014 09:03:01 +0000 (11:03 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 3 Jul 2014 09:03:01 +0000 (11:03 +0200)
SL/LXDebug.pm

index cf6c912..553ab50 100644 (file)
@@ -274,6 +274,7 @@ sub _write_raw {
   local *FILE;
   if ((FILE_TARGET == $self->{"target"})
       && open(FILE, ">>", $self->{"file"})) {
+    binmode FILE, ":utf8";
     print FILE $message;
     close FILE;