fix NULL recognized string bug

Calling the recognizedString method, it will crash if the utf8Text is NULL.
This pull request fixes it.
@ldiqual