Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33575 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6779 invoked by uid 1010); 2 Dec 2007 10:06:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6764 invoked from network); 2 Dec 2007 10:06:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2007 10:06:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.235 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 64.233.184.235 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.235] ([64.233.184.235:41455] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/A3-16229-58382574 for ; Sun, 02 Dec 2007 05:05:58 -0500 Received: by wr-out-0506.google.com with SMTP id 55so1876375wri for ; Sun, 02 Dec 2007 02:05:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Kbqm2GhfAajUnol0ydrw9j03eotEt0YEZOz7FtLk8kc=; b=IMe8Oj71K1Vhacfk9p3dxXHBZTJNUJjN1DOt+DJs7xzqvIwpKLM2c9aHLS2Snz/bO45Oqs2juYzhyJxhPP+WU+uJe4KuCjQJhLW+yM3l57IQ7vLE9C/FWI1UpTtJkGZrOnpqdWTty1GE+rhwWmqiGFQqqUw/W2MVC8iN4MdcmiA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rxDveulVg8RlEOcheB1qlnF4tchvFToEVrQwcL4SS/sobNocCaLQOEJ+9PF40R0e9y/JvdKz5vH3E8mfWtdO59p0p0FNz1LTwePbXMN8dnLTaIFQ3bYcudJsCSIgp7KaEv8f6CTEIixX6lxx7Ouxk+mPNTSGy1kT1YfbBQUYl4g= Received: by 10.150.134.7 with SMTP id h7mr769539ybd.1196589955569; Sun, 02 Dec 2007 02:05:55 -0800 (PST) Received: by 10.150.57.12 with HTTP; Sun, 2 Dec 2007 02:05:55 -0800 (PST) Message-ID: Date: Sun, 2 Dec 2007 13:05:55 +0300 To: "Rasmus Lerdorf" Cc: "Stanislav Malyshev" , "Sara Golemon" , omar@php.net, "PHP Internals" In-Reply-To: <4752130C.701@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <474F0EE7.8020201@php.net> <474F4E47.8050506@zend.com> <474F5E12.1050404@php.net> <474F5F75.3030808@zend.com> <475081DD.90404@php.net> <4750B3CA.20405@zend.com> <475101FF.5080103@lerdorf.com> <4752130C.701@lerdorf.com> Subject: Re: [PHP-DEV] Proposed feature for json_encode() From: indeyets@gmail.com ("Alexey Zakhlestin") On 12/2/07, Rasmus Lerdorf wrote: > The \u syntax is specific to JSON, yes. \u syntax is specific to javascripts string literals, regular expressions and identifiers[1] And JSON is not the only way to deliver data into javascript. Manual approaches are still useful [1] - http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Unicode#Unicode_escape_sequences -- Alexey Zakhlestin http://blog.milkfarmsoft.com/