"A defendant in a criminal prosecution who is acquitted or discharged is not liable for any costs or fees of the court or any ministerial office, or for any charge of subsistence while detained in custody."
Edit: You can search scholar.google.com for "939.06" and find cases such as:
Starkes v. State, 292 So.3d 826 (2020) wherein the 1st DCA issued a writ of mandamus commanding the trial court to certify the defendant's costs (so that they may be reimbursed).
"A defendant in a criminal prosecution who is acquitted or discharged is not liable for any costs or fees of the court or any ministerial office, or for any charge of subsistence while detained in custody."
Edit: You can search scholar.google.com for "939.06" and find cases such as:
Starkes v. State, 292 So.3d 826 (2020) wherein the 1st DCA issued a writ of mandamus commanding the trial court to certify the defendant's costs (so that they may be reimbursed).