Using default_charset for htmlspecialchars() and others
| From: | Brian Moon | Date: | Sun, 02 May 2010 22:53:13 +0000 |
| Subject: | Using default_charset for htmlspecialchars() and others | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-48173@lists.php.net to get a copy of this message | ||
I am not sure if this has been discussed or not. I will gladly make an RFC if not. I think it would be very intuitive if htmlspecialchars used the ini value default_charset as its default. And any function that takes an optional character set.
A) Has this been discussed?
B) If not, do others think it is worth of a proper RFC?
There would be some BC breakage for sure as the default behavior would be changing.
--
Brian.
--------
brianlmoon@php.net