From a2db325a10cff6577db0f5efae9bb3f24f961b73 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 3 Jul 2014 11:03:01 +0200 Subject: [PATCH] Handle zur LXDebug-Logdatei auch UTF-8 encoden --- SL/LXDebug.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/LXDebug.pm b/SL/LXDebug.pm index cf6c91266..553ab5037 100644 --- a/SL/LXDebug.pm +++ b/SL/LXDebug.pm @@ -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; -- 2.20.1