[api] charset decoding fast fix