Added UTF-8 as fallback encoding.