Fixed work with utf8 strings