Re: Re: PHP Unicode support design document

From: Date: Wed, 10 Aug 2005 10:54:07 +0000
Subject: Re: Re: PHP Unicode support design document
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-17776@lists.php.net to get a copy of this message
On Wed, 10 Aug 2005 12:45:27 +0200 "Ron Korving" <r.korving@xit.nl> wrote: > This looks very promising, I'm impressed by the work you guys have done (big > thumbs up). > > There are a few issues/questions I have after reading your document: > > > "Therefore, command such as 'print' and 'echo' automatically convert > their > arguments to the specified encoding. No automatic output encoding is > performed for anything else." That's actually something I wanted to ask about too. Do we really need such kind of magic? I think it may be pretty confusing when after echo'ing or print'ing a variable you can see one output, but after writing the very same variable into a file you can see something completely different. IMO it's similar to what we have with __toString() ATM. Yes, it's documented, but it's *still* confusing that there is some magic involved in one case and there is no magic in an other, almost similar case. -- Wbr, Antony Dovgal

« previous php.internals (#17776) next »