Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30058 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22202 invoked by uid 1010); 5 Jun 2007 08:54:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22182 invoked from network); 5 Jun 2007 08:54:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2007 08:54:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:53207] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/11-11953-4C425664 for ; Tue, 05 Jun 2007 04:54:36 -0400 Received: (qmail 8287 invoked from network); 5 Jun 2007 08:54:23 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 5 Jun 2007 08:54:23 -0000 Message-ID: <466524BD.6090202@zend.com> Date: Tue, 05 Jun 2007 12:54:21 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: php-dev Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: command line switches to turn Unicode on/off From: antony@zend.com (Antony Dovgal) Hello all. I'd like to propose a small patch adding two command line switches to CLI (HEAD): -U - turn Unicode mode on -N - turn Unicode mode off Typing "-d unicode.semantics=1" or "-d unicode.semantics=0" is annoying, so I would really like to see these shortcuts added. I'll port it to CGI later if there are no objections. The patch: http://dev.daylessday.org/diff/unicode_switches.diff -- Wbr, Antony Dovgal