add a support for the different string format -- utf-8