lowercase encoding and doctype