Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62385 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6372 invoked from network); 22 Aug 2012 06:51:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2012 06:51:03 -0000 Authentication-Results: pb1.pair.com header.from=ivan.enderlin@hoa-project.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ivan.enderlin@hoa-project.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hoa-project.net from 95.130.12.24 cause and error) X-PHP-List-Original-Sender: ivan.enderlin@hoa-project.net X-Host-Fingerprint: 95.130.12.24 host1.trois-doubles.net Linux 2.6 Received: from [95.130.12.24] ([95.130.12.24:36983] helo=host1.trois-doubles.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/A0-02556-45184305 for ; Wed, 22 Aug 2012 02:51:01 -0400 Received: from Hwhost2.local (166-212.203-62.cust.bluewin.ch [62.203.212.166]) by host1.trois-doubles.net (Postfix) with ESMTPA id AED70208CEF; Wed, 22 Aug 2012 08:50:57 +0200 (CEST) Message-ID: <50348150.5080204@hoa-project.net> Date: Wed, 22 Aug 2012 08:50:56 +0200 Reply-To: ivan.enderlin@hoa-project.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20120817 Thunderbird/16.0a2 MIME-Version: 1.0 To: Rasmus Lerdorf CC: internals@lists.php.net References: <503388D3.6060403@hoa-project.net> <50338970.7080900@lerdorf.com> In-Reply-To: <50338970.7080900@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] UTF-8 files and include From: ivan.enderlin@hoa-project.net ("Ivan Enderlin @ Hoa") On 21/08/12 15:13, Rasmus Lerdorf wrote: > On 08/21/2012 09:10 AM, 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? > What kind of issue? Perhaps they are leaving in the BOM? Tell them to > configure their editors to not add a BOM. It's not from the editor. The filename contains UTF-8 character and the include/require fails. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/