Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46947 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95534 invoked from network); 5 Feb 2010 07:30:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2010 07:30:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=shigeru_kitazaki@cybozu.co.jp; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=shigeru_kitazaki@cybozu.co.jp; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain cybozu.co.jp does not designate 61.204.25.99 as permitted sender) X-PHP-List-Original-Sender: shigeru_kitazaki@cybozu.co.jp X-Host-Fingerprint: 61.204.25.99 io.cybozu.co.jp Linux 2.4/2.6 Received: from [61.204.25.99] ([61.204.25.99:57355] helo=io.cybozu.co.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/21-16632-019CB6B4 for ; Fri, 05 Feb 2010 02:30:25 -0500 Date: Fri, 05 Feb 2010 16:30:20 +0900 To: internals@lists.php.net X-Mailer: Cybozu(R) Garoon(R) 2.5.4 Message-ID: <0_47487600_1265355020.19858.cbgrn@enoch.corp.cybozu.co.jp> mime-version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Subject: syslog() on Windows for wide character From: shigeru_kitazaki@cybozu.co.jp (KITAZAKI Shigeru) Hi, We've improved a patch which makes syslog() to send UTF-8 strings to event log on Windows. This patch introduces a new INI directive to switch to the new behavior; the directive name is 'syslog_widechar'. This is a optional feature only for Windows, and does not conflict current behavior or any other settings. More detailed information and the patch are here: http://developer.cybozu.co.jp/oss/2010/02/php-syslog-patc.html And many thanks to your suggestions in the thread of 'adding GB18030 support for mbstring'. 2010/2/1 Pierre Joye wrote: > > * php_syslog.patch > It has to be optional. Maybe a mbstring.syslog* option to set a given > encoding for the syslog functions. 2010/2/1 Moriyoshi Koizumi wrote: > > * php_syslog.patch > It seems this doesn't relies on any mbstring settings, but just > changed syslog() to take strings encoded in UTF-8 instead of the > system's default encoding. It'd look good to me if it had a new flag > causing syslog() to switch to the new behaviour. Regards, KITAZAKI Shigeru