updated comments and removed utf8, use php_utf8 instead