Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62396 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24651 invoked from network); 22 Aug 2012 08:18:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2012 08:18:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:61370] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/84-02556-EE594305 for ; Wed, 22 Aug 2012 04:18:55 -0400 Received: by yhoo21 with SMTP id o21so533071yho.29 for ; Wed, 22 Aug 2012 01:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mZUX3mtqq6BHfsKAqUg/PvvSoC9d+JA5yoDzCebN21Q=; b=Q2CPbAw4fclzm4c6vuyus8rmy0lLmQqI8ZRzsp5xZcqWwQ2XWmrcKGLnKBzx+51IC0 asx2DarrIHxmON+eC2Q4nQhyLLEHD6+eNTI3WJf9xoJ1rshKh/CYqwYSFrNQqBudXSma fwHJZLO4gPp9OqO2TM2LZogcA1VBzw3hsM1RJnQ9c7pz1+rKdAvk0MMza7Pp6WXba5fd jFfureOA9gpUd+cW3CE7oKjnVsxJ4JYbz5vOR8aGF4U5BR5p+hVLThA1aubhZIhkThoG I+ap2tjI1jZyYMbILR2U9jZKmpzAzXReu4Ku+B+vgmekWif+QqYILy6Az49SsxKGJ7CG K7Cg== MIME-Version: 1.0 Received: by 10.50.219.161 with SMTP id pp1mr1270803igc.19.1345623531294; Wed, 22 Aug 2012 01:18:51 -0700 (PDT) Received: by 10.64.137.101 with HTTP; Wed, 22 Aug 2012 01:18:51 -0700 (PDT) In-Reply-To: <5034931A.8050309@lsces.co.uk> References: <503388D3.6060403@hoa-project.net> <50348488.4000701@hoa-project.net> <5034931A.8050309@lsces.co.uk> Date: Wed, 22 Aug 2012 10:18:51 +0200 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] UTF-8 files and include From: pierre.php@gmail.com (Pierre Joye) hi Lester, On Wed, Aug 22, 2012 at 10:06 AM, Lester Caine wrote: > Ivan Enderlin @ Hoa wrote: >>> >>> As it may (very often) works smoothly on most unices, it won't work >>> ever using current releases or master on Windows. One has to set the >>> correct codepage and do the conversion from/to UTF-8. >> >> Exactly. I can detect if PHP is running on Windows and making the >> conversion >> on-the-fly but what kind of conversion? I have tried with utf8_decode() >> but it >> seems to also fail. Any other idea? > > > Oh that it was so simple ;) > > This is perhaps one of the reasons development of PHP6 ground to a halt? No, it was not. Also unicode support on windows for IO operations (on the paths, not the contents) is planed for php-next+1 (aka not the 5.5 but the one after). I'd also to ask to do not hijack this thread with a php6/whatever else rant and keep focusing on answering Ivan's questions instead. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org