share/utf8: Add missing check

Patch-from: lvqcl <lvqcl.mail@gmail.com>
1 file changed