Fixed waserver to support utf8 strings