On Wed, Sep 19, 2012 at 9:08 AM, Andrew Faulds <a...@ajf.me> wrote:

> Yes, but typing the encoding every time is cumbersome. Or, if you don't want
> to set it every time, you'd have to set it globally. Then, you forgot to
> change it back somewhere when you're dealing with multiple encodings, and it
> all goes wrong.

then write a reusable function. same amount of code as an OO method.
since everyone likes to make OO classes for every little thing.

>> After that it seems like the discussion would be:
>> 1) do we even need encoding or is UTF8 just fine
>
> UTF8-only is certainly not just fine.

That's fine :) Just a suggestion for discussion. Keep encoding in
then! (I was thinking about htmlspecialchars and such)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to