fix bug in utf8 paste check
Merge pull request #19 from mahkoh/fix

fix bug in utf8 paste check