civodul pushed a commit to branch wip-fibers
in repository shepherd.

commit a05ed8f654ea9002d6bfeab5a681b08d6c1536c3
Author: Ludovic Courtès <l...@gnu.org>
AuthorDate: Wed Mar 23 17:03:14 2022 +0100

    shepherd: Encode log as UTF-8 unconditionally.
    
    * modules/shepherd.scm (main): Add 'set-port-encoding!' call.
---
 modules/shepherd.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/shepherd.scm b/modules/shepherd.scm
index dc07f60..1c46c6b 100644
--- a/modules/shepherd.scm
+++ b/modules/shepherd.scm
@@ -357,6 +357,8 @@ already ~a threads running, disabling 'signalfd' support")
                          (%make-void-port "w")
                          (current-output-port)))))
 
+      (set-port-encoding! (log-output-port) "UTF-8")
+
       ;; Start the 'root' service.
       (start root-service)
 

Reply via email to