From: Moritz Bunkus Date: Thu, 3 Jul 2014 09:03:01 +0000 (+0200) Subject: Handle zur LXDebug-Logdatei auch UTF-8 encoden X-Git-Tag: release-3.2.0beta~400 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a2db325a10cff6577db0f5efae9bb3f24f961b73;p=kivitendo-erp.git Handle zur LXDebug-Logdatei auch UTF-8 encoden --- 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;