new 1.2.2 version
still fixing bugs with char surrogate pairs