Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29141 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98442 invoked by uid 1010); 3 May 2007 11:12:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98427 invoked from network); 3 May 2007 11:12:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 May 2007 11:12:32 -0000 Authentication-Results: pb1.pair.com header.from=listas@rangelreale.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=listas@rangelreale.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rangelreale.com designates 200.234.205.155 as permitted sender) X-PHP-List-Original-Sender: listas@rangelreale.com X-Host-Fingerprint: 200.234.205.155 hm32.locaweb.com.br Received: from [200.234.205.155] ([200.234.205.155:56318] helo=hm32.locaweb.com.br) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/B3-04105-C93C9364 for ; Thu, 03 May 2007 07:12:30 -0400 Received: (qmail 14954 invoked from network); 3 May 2007 11:12:25 -0000 Received: from unknown (10.1.10.142) by hm32.locaweb.com.br with QMQP; 3 May 2007 11:12:25 -0000 Received: from unknown (HELO rangeldc) (rangelreale@rangelreale.com@201.95.191.145) by hm456.locaweb.com.br with SMTP; 3 May 2007 11:12:29 -0000 Message-ID: <007801c78d73$e6dce460$0301a8c0@rangeldc> To: "Derick Rethans" , "Alexey Zakhlestin" Cc: References: <006c01c78d26$beda26f0$0301a8c0@rangeldc> Date: Thu, 3 May 2007 08:12:11 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Subject: Re: [PHP-DEV] Trying to understand PHP6's unicode support From: listas@rangelreale.com ("Rangel Reale") Hmm ok, so what does the parameter "unicode.runtime_encoding = iso-8859-1" do? This means that, when "unicode.semantics = on", internally everything is utf-16, event text read from iso-8859-1 script files and database data, so if I want to return iso-8859-1 data, I need to set "unicode.output_encoding = iso-8859-1", and php will convert all echo'ed data from utf-16, is this it? If so, can I change unicode.output_encoding at runtime, with ini_set? ----- Original Message ----- From: "Derick Rethans" To: "Alexey Zakhlestin" Cc: "Rangel Reale" ; Sent: Thursday, May 03, 2007 5:58 AM Subject: Re: [PHP-DEV] Trying to understand PHP6's unicode support > On Thu, 3 May 2007, Alexey Zakhlestin wrote: > >> php6 always handles all "internal work" in utf-8 > > No, it is UTF-16 internally. > > Derick > > -- > Derick Rethans > http://derickrethans.nl | http://ez.no | http://xdebug.org > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.463 / Virus Database: 269.6.1/776 - Release Date: 25/4/2007 > 12:19 > >