Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72721 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35390 invoked from network); 20 Feb 2014 21:05:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2014 21:05:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.214.43 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 209.85.214.43 mail-bk0-f43.google.com Received: from [209.85.214.43] ([209.85.214.43:44886] helo=mail-bk0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/B0-31058-61E66035 for ; Thu, 20 Feb 2014 16:05:27 -0500 Received: by mail-bk0-f43.google.com with SMTP id mx12so776644bkb.2 for ; Thu, 20 Feb 2014 13:05:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OOo8JupdgfejkxIAcgGlFnAhtBZ4gdbiKi2yLrydEbo=; b=Dq3iFvKtrUXPLNYxzKwZBvJQ61N+9ZuFdEuY423CsSUHH2Uwos28b17qTkUtBldSul yet0qA0UwWf6/RHz/OMFCo4hQplouJhpVfQbMw1lPxfexZ6SiIkwZKsLhs5yS17ZwiK2 b52vIkO2OnQy7hqkgA1MdPqSwhoir6OzIy9jnlHxNXQSF3V+favVESOHgQMY2ks0e95K 5XMb+NxZGH3e+WUtXGohhrlkj74rdqRhm8rh/156Kolilfi0kpDZ/KbcfVGQn40m6/L5 B7HCKa6klJ1TC0ivCTHyXvfHel8XwWc41Ddp3JjZrEeqzUjZV6L+p4LpcZeBKBfTJD/4 xeJg== X-Received: by 10.205.19.65 with SMTP id qj1mr1120832bkb.1.1392930323008; Thu, 20 Feb 2014 13:05:23 -0800 (PST) Received: from [192.168.1.115] (mnch-4d04edd5.pool.mediaWays.net. [77.4.237.213]) by mx.google.com with ESMTPSA id ek13sm4761652bkb.15.2014.02.20.13.05.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 13:05:22 -0800 (PST) Message-ID: <53066DE9.4090809@googlemail.com> Date: Thu, 20 Feb 2014 22:04:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Pierre Joye CC: PHP Developers Mailing List References: <53061982.2050901@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [php6] Unicode support, options? From: cryptocompress@googlemail.com (Crypto Compress) Hi Pierre, > >> Thoughts, comments or ideas? > > > > it may be crazy to even think about it, but my idea is to mix the > "worst" (C++ *and* ICU) to get the ultimate unicode foundation. > > > > Boost.Locale: > > > http://www.boost.org/doc/libs/1_55_0/libs/locale/doc/html/rationale.html#why_icu > > Mainly because we like to use UTF-8 storage. > What do you understand by "storage"? Quote: "U_CHARSET_IS_UTF8 allows to force ICU to use UTF-8 by default. It is a ICU compile time setting." Source: Pierre Quote: "...stateless encodings like UTF-8..." Source: http://www.boost.org/doc/libs/1_55_0/libs/locale/doc/html/charset_handling.html#codecvt_limitations > Also pure c++ api is not an option yet. Unless we rewrite php in c++ > but then I would go with a 3-4 years Dev phase > Yes, a complete rewrite is insane not crazy. Prefer small evolutionary steps and some bigger ones. > ...not really what I am looking for. > We know what you are looking for. You asked for ideas. cryptocompress