Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67915 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71234 invoked from network); 27 Jun 2013 01:21:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2013 01:21:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.49 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.219.49 mail-oa0-f49.google.com Received: from [209.85.219.49] ([209.85.219.49:41441] helo=mail-oa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/E3-51393-0A39BC15 for ; Wed, 26 Jun 2013 21:21:37 -0400 Received: by mail-oa0-f49.google.com with SMTP id n9so153236oag.8 for ; Wed, 26 Jun 2013 18:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sSkJrLJc0eCInOZg7gEEqyUIxpmn6uoS1CrtsX8TVwE=; b=Dhrk0v5x+jwxkInFbzJAKigbn+Ywk8FXj53n5lhgNaFRHTLc/o4CtAnbcbPx4QXMJN hpttd3CV9paMtBJlC6ylA2KZYv43+bgqxrfY8rRSE/sbxB2eR4+49OBgsEx+s9oZSdsT Mb1XEJKTf/Mcw3aryEbxTaXLn20ho9terfLyKPKwVfSa48uqfVeit3dtC+wJLx1sVwTN JvRhlOHfRPaQzdoyURTs27XToYUTf0X32nYE6DVkRvzxn/Hx6zq0t76e2xj2VLzPDddv D5UGjZwC3d6et3WvnV3u5njObBXYQPazotjgu2jTSlbpOniP5z08LybXN4HHGvztfumO LyhA== MIME-Version: 1.0 X-Received: by 10.182.247.100 with SMTP id yd4mr3105429obc.46.1372296094561; Wed, 26 Jun 2013 18:21:34 -0700 (PDT) Received: by 10.182.138.1 with HTTP; Wed, 26 Jun 2013 18:21:34 -0700 (PDT) Date: Wed, 26 Jun 2013 18:21:34 -0700 Message-ID: To: PHP internals list Content-Type: multipart/alternative; boundary=089e01537dc63e3b2004e018956e Subject: ENT_ALL or similar option for htmlspecialchars[_decode]? From: kris.craig@gmail.com (Kris Craig) --089e01537dc63e3b2004e018956e Content-Type: text/plain; charset=ISO-8859-1 I just noticed that htmlspecialchars_decode doesn't convert entities like and . Is there a bitmask I'm missing or are those simply not supported right now? If the latter, any thoughts on adding something along the lines of ENT_ALL to convert all valid entities from/to their respective characters? --Kris --089e01537dc63e3b2004e018956e--