syslog() on Windows for wide character
| From: | KITAZAKI Shigeru | Date: | Fri, 05 Feb 2010 07:30:20 +0000 |
| Subject: | syslog() on Windows for wide character | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-46947@lists.php.net to get a copy of this message | ||
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