2010/2/1 KITAZAKI Shigeru <shigeru_kitaz...@cybozu.co.jp>: > * php_syslog.patch > syslog() function cannot properly send UTF-8 strings to event log on > Windows. This patch changes the internal API. We, however, must set > UTF-8 on 'mbstring.internal_incoding'. > In addition, this changes the severity of 'LOG_ERR' from eventlog's > warning to eventlog's error.
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, Moriyoshi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php