i have a database, tables and columns with utf8mb4.
at the connection settings i can choose the encoding utf8mb4 but the naming confuses me:
Code: Select all
utf8mb4 -> Unicode (UTF-8)
when i try this insert:
Code: Select all
INSERT INTO mytable
(
title
)
VALUES
(
'funny title with utf8 unicode char 🔧'
);
Code: Select all
Incorrect string value: '\xF0\x9F\x94\xA7' for column 'title' at row 1
I tested this with PHP, I get the same error if u try this insert (via mysqli) with utf8.
when I explicitly set the charset to utf8mb4, no error, the insert works.
so.... how can I tell dbforge to use utf8mb4 instead of utf8 ???
thanks,
micha