[webui] remove /n for utf-8 strings