Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62387 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9129 invoked from network); 22 Aug 2012 06:58:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2012 06:58:01 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass 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 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:37379] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/41-02556-7F284305 for ; Wed, 22 Aug 2012 02:58:00 -0400 Received: by iamm10 with SMTP id m10so642777iam.29 for ; Tue, 21 Aug 2012 23:57:57 -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=x5Zhi7+q2QBgLw4B1v/IO8wUfz/iqAC3mWk927n265g=; b=SetQkhRCQOebPwhhytORN0dFPuXTszce7l0Vw4dIRpmleFYKFxSbHXSLELFESYJ+1K q0CfIwVwzN0JHWBGTHiDZEvVco3cQEIwP8pUyhC3j6hjkfz06IRVBfK5In0/0JvObk5+ BDjxpFeQVF+fjZqUDIoUNU0AbD2O6ks3O4kOIIvFessnE27v5PfUUtnaUDi77lORxkEm Ki0dokFNXKE42ImY/acyrbm41bVAokbgx85aar1JN9+BwlvpwAE62djzJlv7QUN/Rw+C nf3lS/hB29q7PWGyy24CifpmI4z8j1Bdk4PQXNYhEO9yNDYqNI3gndeNXstI+w3a0Cfo zdpg== MIME-Version: 1.0 Received: by 10.50.36.169 with SMTP id r9mr1093211igj.19.1345618677156; Tue, 21 Aug 2012 23:57:57 -0700 (PDT) Received: by 10.64.137.101 with HTTP; Tue, 21 Aug 2012 23:57:57 -0700 (PDT) In-Reply-To: <503388D3.6060403@hoa-project.net> References: <503388D3.6060403@hoa-project.net> Date: Wed, 22 Aug 2012 08:57:57 +0200 Message-ID: To: ivan.enderlin@hoa-project.net Cc: internals@lists.php.net 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! On Tue, Aug 21, 2012 at 3:10 PM, Ivan Enderlin @ Hoa wrote: > Hello, > > Some of my users & contributors have met an issue with files containing > UTF-8 on certain Windows configurations (but they actually did not found the > difference). Any idea why? > The issue does not appear on Linux, BSD or Mac OS system, only for certain > Windows. > > What do we need to check? --enable-zend-multibyte, some php.ini magic > parameters, some ENV variables? It can't be fixed easily. Basically avoid by any price to use Unicode names for the filenames of your projects. 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. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org