We should set the charset in Item_func_json_format::fix_length_and_dec().
Attach a file by drag & drop or click to upload