Subject: | broken encoding on system messages |
GOT:
$ pocosi -f example/config.yml
2014-10-21 00:34:33 Started (pid 7096)
2014-10-21 00:34:33 Constructing plugins
2014-10-21 00:34:33 Spawning IRCd component (POE::Component::Server::IRC)
2014-10-21 00:34:33 Registering plugins
2014-10-21 00:34:33 Added plugin Auth_2
2014-10-21 00:34:33 Added plugin PocosiStatus_1
2014-10-21 00:34:33 Added plugin OperServ_1
2014-10-21 00:34:33 Started listening on 127.0.0.1:10023
2014-10-21 00:34:33 Failed to connect to peer otherserver.com on 127.0.0.1:12345. Operation connect failed: Ð Ñоединении оÑказано
EXCEPTED:
014-10-21 00:41:14 Started (pid 7474)
2014-10-21 00:41:14 Constructing plugins
2014-10-21 00:41:14 Spawning IRCd component (POE::Component::Server::IRC)
2014-10-21 00:41:14 Registering plugins
2014-10-21 00:41:14 Added plugin Auth_2
2014-10-21 00:41:14 Added plugin PocosiStatus_1
2014-10-21 00:41:14 Added plugin OperServ_1
2014-10-21 00:41:14 Started listening on 127.0.0.1:10023
2014-10-21 00:41:14 Failed to connect to peer otherserver.com on 127.0.0.1:12345. Operation connect failed: В соединении отказано
Because stdout is open with :utf8 layer and error has not utf8 flag