Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69980 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18221 invoked from network); 31 Oct 2013 09:08:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Oct 2013 09:08:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.173 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.173 mail-lb0-f173.google.com Received: from [209.85.217.173] ([209.85.217.173:61447] helo=mail-lb0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/D0-13434-C0E12725 for ; Thu, 31 Oct 2013 04:08:29 -0500 Received: by mail-lb0-f173.google.com with SMTP id w7so2117817lbi.4 for ; Thu, 31 Oct 2013 02:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=SfQbiynCT472uAT85qmMCVOB1BkonusneX/iHmubFRQ=; b=DLHsiOvoGdUUfs7wsT7WkymWkHNcOLAzRSExb/OcAefCUWm6BZHUSThRVuawetRm5g 7yy4PSUu49TpMAIsMdislz28O1KYm+xfVCp43ufZUnSDUwgme2P7d3tsiex7SVIE0DWx Vyg7Dw+NBmGGQ8XZVQDabUs/SN3RHS3kGR9REvESTTi8U6mE/f+oDRj/9U9xKJiFLXyf lWyb5Ovb7vAPQP6zHglWiVuG2GD7hDR2cL+vnjfcIN2eIG0+FcU1kpttbC/9rDLR8534 M9o/o+Mtd7tNW0O3MPEQFg/N9lCcumi1HU+IdHknbtTjKf/KHZNsHB91BS5PoWjIAWeD EL+w== X-Received: by 10.112.132.70 with SMTP id os6mr1648692lbb.38.1383210505209; Thu, 31 Oct 2013 02:08:25 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.154.201 with HTTP; Thu, 31 Oct 2013 02:07:45 -0700 (PDT) In-Reply-To: <52721544.10106@php.net> References: <526F98C1.4040607@php.net> <527212E9.7040201@php.net> <52721544.10106@php.net> Date: Thu, 31 Oct 2013 18:07:45 +0900 X-Google-Sender-Auth: C6ZbbTcUFVwDuL8464eX370nlM8 Message-ID: To: Joe Watkins Cc: "internals@lists.php.net" , Martin Keckeis Content-Type: multipart/alternative; boundary=047d7b3a836ad00da304ea05ca07 Subject: Re: [PHP-DEV] Re: [RFC] Use default_charset As Default Character Encoding From: yohgaki@ohgaki.net (Yasuo Ohgaki) --047d7b3a836ad00da304ea05ca07 Content-Type: text/plain; charset=UTF-8 Hi Joe, On Thu, Oct 31, 2013 at 5:31 PM, Joe Watkins wrote: > How could you override them ?? > It's in PoC patch. I made it while 5.5 was in beta, but it would work. > If they are removed then they cannot be referenced. > > If they are not being removed then nothing is being simplified ... > The most important objective is when you are using 'UTF-8' (I guess it's standard today) All you should do is default_charset='UTF-8' then PHP uses the setting anywhere it can apply. (e.g. htmlspecialchars, mbstring functions, etc) I have to work on functions, but php.ini related staff is in PoC patch. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --047d7b3a836ad00da304ea05ca07--