Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10404 invoked from network); 5 Feb 2010 10:00:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2010 10:00:39 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.24 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.78.24 ey-out-2122.google.com Received: from [74.125.78.24] ([74.125.78.24:16632] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/33-16632-64CEB6B4 for ; Fri, 05 Feb 2010 05:00:38 -0500 Received: by ey-out-2122.google.com with SMTP id d26so858167eyd.39 for ; Fri, 05 Feb 2010 02:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ai9GDD+6zkFmkLmcE2yN3tz0tHS7s90b/RrPQ40gLJ8=; b=BCdFp3p2qz5rXl/3nzS6QIvOaL8ESc+6ix+6IUvZgIEeJFVMFqCc9rZalIvduIRQj+ DFp9MKGFiwclQI7akILpsOqOx3G7yAMay1DNCtNfMRVT7pEZbp7kymvFexJSHXj1mxqW Xg2XqmT6uByPQjwP2/G1OrfX4cSgpMGCQDvR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YhFySnYIs7vgMa6DPTb/TJkCW/XxqdJeoRm8gnptl68nIEJhkEumIei7I61G9o3AUf qYypbYO/LqXwAeD0cszbpTbgpVC9BJ/aLc9FTyJZ4ulje8CvVHgneV51viCZilovtnme XIGtiWQoGCSavOUM3j3EpxAsrkpnK560rFtm4= MIME-Version: 1.0 Received: by 10.216.86.148 with SMTP id w20mr1334491wee.138.1265364032882; Fri, 05 Feb 2010 02:00:32 -0800 (PST) In-Reply-To: <0_47487600_1265355020.19858.cbgrn@enoch.corp.cybozu.co.jp> References: <0_47487600_1265355020.19858.cbgrn@enoch.corp.cybozu.co.jp> Date: Fri, 5 Feb 2010 11:00:32 +0100 Message-ID: To: KITAZAKI Shigeru Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] syslog() on Windows for wide character From: pierre.php@gmail.com (Pierre Joye) hi, Thanks for the update :) I still think that it should follow mbstring logic and API. Doing so will provide 100% backward compatibility. If an application define this setting as UTF-8 but some modules are not implemented with UTF-8 in mind, then the log may be broken. Cheers, 2010/2/5 KITAZAKI Shigeru : > Hi, > > We've improved a patch which makes syslog() to send UTF-8 strings to even= t > log on Windows. This patch introduces a new INI directive to switch to th= e > 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. =A0It'd look good to me if it had a new flag >> causing syslog() to switch to the new behaviour. > > Regards, > KITAZAKI Shigeru > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org