Re: default charset confusion

From: Date: Mon, 12 Mar 2012 19:31:32 +0000
Subject: Re: default charset confusion
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-58882@lists.php.net to get a copy of this message
On Mon, March 12, 2012 1:49 am, Rasmus Lerdorf wrote: > What we really need is what we added in PHP 6. A runtime encoding ini > setting that is distinct from the output charset which we can use > here. The usual argument against another php.ini setting, other than "too many already" is the difficulty it presents to write portable code libraries. I'm not smart enough to predict how such a setting (regardless of its name) would help or hinder a library of code that doesn't want another conditional in a zillion places. But you folks are that smart. :-) And I haven't seen any discussion regarding this sub-issue. So, how would the help / hinder authors of generic library code to be distributed in the wild? Forgive me if the answer is so blindingly obvious I should already know it... :-) -- brain cancer update: http://richardlynch.blogspot.com/search/label/brain%20tumor Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FS9NLTNEEKWBE

« previous php.internals (#58882) next »