Re: Removal of unicode_semantics

From: Date: Thu, 08 May 2008 22:16:10 +0000
Subject: Re: Removal of unicode_semantics
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-37555@lists.php.net to get a copy of this message
The easiest thing would be just to default unicode_semantics to On internally and hide it from users. Don't remove all the UG(unicode) checks yet, because we can test migration/compatibility with those in place. -Andrei Derick Rethans wrote:
On Wed, 7 May 2008, Andi Gutmans wrote:
Yep, we said that we'd remove the switch. Then we'd see how compatibility fairs and if we discover the upgrade path is too painful we'd consider making "" be binary string and require u"" for Unicode strings. But this was TBD depending on people's experiences and our ability to deliver an easy migration path for applications. So for now we should remove the switch. We can do this if needed.
Scott is already working on this AFAIK. And like Andrei, I'd also be against defaulting to binary strings. regards, Derick


« previous php.internals (#37555) next »