Added missing BINLINE.
Replaced string conv function by toUtf8 and fromUtf8.