Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

€ char is shown as ? in UTF8 Output

I have reworked a website and now it is xhtml valid etc and using UTF8. Everything is fine, but if anywhere in the Database is a Euro-char it is just displayed as a questionmark.

What would be the right way to fix this? As output is done by Typo3 i cant change much about that.

like image 645
Flo Avatar asked Dec 06 '25 17:12

Flo


1 Answers

Try executing these queries before the queries that fetch data:

SET NAMES utf8
SET CHARACTER SET utf8
like image 57
karim79 Avatar answered Dec 08 '25 07:12

karim79



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!