update default encode for utf-8