Fixed #25 can not search for multi-byte string.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>