Sets utf-8 character encoding on layout