One counts characters and the other counts bytes which with unicode are no longer the same thing once you get past the first ASCII 127 characters