fix utf-8 connection to save and fetch utf-8 characters