filter() function removed, use new function prepare_attr_value() instead.
utf-8 - default encoding.
Composer support added.