Remove ut8 double encoding, adding total sum