Fix utf-8 and firefox issue