Moved all PHP 5.2 compatible encodings to separate encode_unsupported method