Re: Using default_charset for htmlspecialchars() and others

From: Date: Mon, 03 May 2010 15:44:00 +0000
Subject: Re: Using default_charset for htmlspecialchars() and others
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-48179@lists.php.net to get a copy of this message
On 03.05.2010, at 00:53, Brian Moon wrote: > 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. Due to this BC and the fact that I do not see this as a super pressing issue, I would hold off with doing this change until we have our unicode plans more concrete, because this might result in yet another change in this area. regards, Lukas Kahwe Smith mls@pooteeweet.org PS: Then again .. the entire unicode discussion seems to have died on this list and I am not aware of any documentation having been made or any other tangible progress.

« previous php.internals (#48179) next »